Re: f12 yum/rpm commands to list all dependencies on a library

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

 



Skunk Worx wrote:
> On f12 I see a package called oprofile-gui depends on the qt3-3.8b
> rpm.
>
> What command(s) can I run inside a local repo (where all the rpm
> packages are) that will tell me how many f12 "Everything" packages
> are still using qt3?
>
> What command(s) can I run for the locally installed package set that
> will tell me how many packages are still using qt3?

The repoquery command, from yum-utils, is perfect for this task
(though it will just query the repodata rather than look at local
packages -- generally I think this is preferable, but it's not exactly
what you asked for).

To find all the dependencies for qt3, this should do the trick:

$ repoquery --whatrequires --alldeps qt3 | sort

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To be stupid, selfish, and have good health are three requirements for
happiness, though if stupidity is lacking, all is lost.
    -- Gustave Flaubert

Attachment: pgp21ddCTB0hY.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux