On 11/03/2010 05:02 PM, Tom Horsley wrote: > I know the rpm database has enough info to eventually deduce this, > but is there a simple to use tool that can answer the question: > > What rpms are installed on my system that no other rpm > depends on? > > In other words, what "root" rpms do I have in my dependency > forest? > > Just seems like that would be a nice list of packages to > ask about on my fedora 13 system to compare to my fedora 14 > install on a separate partition. Well yum deplist will produce the entire forest which you have to then eyeball and find packages with no deplist. Another way to do it is for pkg in `rpm -qa`; do deplist=`rpm -qR $pkg 2>/dev/null` [ "x$deplist" = "x" ] && echo Root pkg: $pkg done The only root or leaf packages listed from the above script: Root pkg: gpg-pubkey-a3780952-4affed06 Root pkg: gpg-pubkey-98ab5139-4bf2d0b0 Root pkg: gpg-pubkey-2425b284-4affedb7 Root pkg: gpg-pubkey-e8e40fde-4b563cdc Root pkg: gpg-pubkey-66534c2b-4b3fa247 Root pkg: gpg-pubkey-d22e77f2-49750871 Root pkg: gpg-pubkey-7fac5991-4615767f Root pkg: gpg-pubkey-a3a882c1-4a1009ef Root pkg: gpg-pubkey-0ec4fe05-42038150 Root pkg: gpg-pubkey-8fcff4da-49c51006 Root pkg: gpg-pubkey-97a1071f-4c49d6fe Root pkg: gpg-pubkey-16ca1a56-4a100959 Root pkg: gpg-pubkey-f6777c67-45e5b1b9 Root pkg: gpg-pubkey-57bbccba-4a6f97af -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines