English
Ask Your Question
1

Yum autoremove deleting also used packages

asked 2015-01-01 10:53:10 +0000

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 ( 2015-02-20 21:49:22 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-11-19 20:08:02 +0000

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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
2 followers

Stats

Asked: 2015-01-01 10:53:10 +0000

Seen: 701 times

Last updated: Nov 19 '15