Check if a repository is being used?
Todd Zullinger
tmz at pobox.com
Fri Jul 6 16:57:37 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070706/a1d82dbb/attachment-0001.sig>
More information about the fedora-list
mailing list