Red Hat Bugzilla – Bug 583440
package-cleanup shows --remove-leaves option which doesn't work
Last modified: 2014-01-21 18:14:29 EST
Description of problem:
[root@localhost tmp]# package-cleanup --help | grep remove-leaves
--remove-leaves remove dependencies no longer needed by any other
[root@localhost tmp]# package-cleanup --remove-leaves
Loaded plugins: auto-update-debuginfo, fastestmirror, presto, refresh-packagekit, remove-with-leaves
package-cleanup: helps find problems in the rpmdb of system and correct them
usage: package-cleanup --problems or --leaves or --orphans or --oldkernels
It seems like /usr/lib/yum-plugins/remove-with-leaves.py interferes somehow and shows the option where it shouldn't have been.
Version-Release number of selected component (if applicable):
--remove-leaves only work with a transaction, so it don't make much sense when used with package-cleanup. But it don't hurt anybody.