Ask Your Question
1

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

Comments

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
2

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 758 times

Last updated: Nov 19 '15