[NEW IDEA] Automatic removal of dependencies

seth vidal skvidal at linux.duke.edu
Sat Apr 22 23:29:50 UTC 2006


> - Administrator wants to browse through packages which nothing depends
> upon, for auditing for removal.
> 
> I'm sure there's a few more. "rpm -q --leafnodes" perhaps, plus a little
> more verbosity from "yum uninstall" detailing packages this was the sole
> dependancy for?
> 

1. let's not add more items to rpm's interface.
2. yum doesn't have an 'uninstall' option - it is remove or erase
3. yum-utils contains package-cleanup.
     'package-cleanup --leaves --all' lists all programs that nothing
depend on
     'package-cleanup --leaves' lists all libraries (or as close as it
can guess) that nothing depends on.

-sv





More information about the fedora-devel-list mailing list