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

Re: Check if a repository is being used?



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: pgpuunV9AEhRE.pgp
Description: PGP signature


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