Ask Your Question

Why "dnf autoremove" in addition to unused dependencies also removes the packages and applications that I installed using the DNF and some system files?

asked 2016-03-21 17:11:59 -0500

Arround gravatar image

Why is that? This is a bug or am I doing something wrong?

edit retag flag offensive close merge delete


This has been a problem since quite some time now, and may be a bug. Did you maybe install those applications using Gnome Software?

florian gravatar imageflorian ( 2016-03-22 09:20:10 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-03-22 00:05:05 -0500

jmt gravatar image

You can mark packages as user installed with dnf mark install pkgname. Those packages will not be uninstalled by autoremove.

edit flag offensive delete link more


as a workaround but ideally it should not be necessary to mark packages manually...

florian gravatar imageflorian ( 2016-03-22 09:20:59 -0500 )edit

answered 2016-03-23 14:39:12 -0500

genodeftest gravatar image

This is a known bug in how dnf and PackageKit (backend for gnome-software) work: . Use just one of both, otherwise you'll get a broken system.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-21 17:11:59 -0500

Seen: 473 times

Last updated: Mar 23 '16