Description of problem:
"yum autoremove" is the single greatest invention since the discovery of fire. However, I did not know about it and I have never heard about it from anyone else. And I and my colleagues work with yum A LOT.
I learned about it today from this blog post:
The reason of my ignorance is that this command is not mentioned in "man yum". Please add it to the manpage. I always envied apt-get that it can automatically remove unneeded dependencies. And no wonder, if we don't advertise it, people can't find out that yum can do it too.
Version-Release number of selected component (if applicable):
The fix is available on Fedora 19 on version 3.4.3-101. It will be nice to port the change to Fedora 18.
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '18'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior to Fedora 18's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
I am closing this bug report because version 3.4.3-101 and above has documented "yum autoremove" command. From man yum:
With one or more arguments this command works like running the
"remove" command with the clean_requirements_on_remove turned
on. However you can also specify no arguments, at which point it
tries to remove any packages that weren't installed explicitly
by the user and which aren't required by anything (so called
Because autoremove does a lot of work to make it as easy as pos‐
sible to use, there are also a few specific autoremove commands
"autoremove-n", "autoremove-na" and "autoremove-nevra". These
only work on package names, and do not process wildcards etc.
Taken from man yum version 3.4.3-128 in Fedora 20. In the future, it would be nice if upstream let the reporter testing the fix.