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: pgphMc1bw7rQM.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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux