Re: root rpm package list?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 03 Nov 2010 17:39:31 -0700, JD wrote:

> 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

Without an explanation of what you're trying to do here, this is
useless. The gpg-pubkey "packages" don't have any dependencies. Hence
they are listed by your script. However, your script doesn't list any
ordinary "root or leaf" packages, which depend on other things.
-- 
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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux