Re: Check if a repository is being used?

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

 



Stanczak Group wrote:
> If you have a couple different repositories and you'd like to remove
> one, is there a way to see if there are any packages on your system
> that are from the repository?

You can disable the repo and use list extras to help find packages
from that repo:

yum --disablerepo="reponame_here" list extras

That's not perfect, but it's a start.  You could also try querying via
rpm for the vendor:

rpm -qa --queryformat '%{name} %{vendor}\n' | grep 'vendor_of_repo'

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That men do not learn very much from the lessons of history is the
most important of all the lessons of history.
    -- Aldous Huxley Collected Essays, 1959

Attachment: pgp6LwSkJ2gwW.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux