Ask Your Question

Yum autoremove deleting also used packages

asked 2015-01-01 04:53:10 -0500

danosavi gravatar image

Hello, I'm new to Fedora, used Ubuntu (and other distros) for years since a week ago when I've installed Fedora 21 Workstation on my laptop.

I've read here and on other forums that yum has the autoremove option which should be similar to apt-get autoremove in debian / ubuntu, removing all unused packages.

The problem is...I've tried running yum autoremove, and it deleted a lot of packages I did install before (like, for example, xsane), which were in use and I didn't want to remove.

Did I do something wrong? Thanks!

edit retag flag offensive close merge delete


Hmmm... That's strange. You could try use dnf autoerase instead.

Classic gravatar imageClassic ( 2015-02-20 15:49:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-19 14:08:02 -0500

xenithorb gravatar image

Anything installed with PackageKit will be removed by dnf autoremove because they are marked incorrectly and dnf doesn't understand that they are installonly

Solution: don't use the tray updater, and don't use apper / packagekit.

edit flag offensive delete link more

Question Tools



Asked: 2015-01-01 04:53:10 -0500

Seen: 878 times

Last updated: Nov 19 '15