Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] yum repository listing

inode0

2008-04-29

Replies:

Author LoginPost Reply
On Tue, Apr 29, 2008 at 6:03 AM, Gerrard Geldenhuis
<Gerrard.Geldenhuis@(protected):
> Hi
>
> I am hoping there is an obvious answer but it is eluding me at present. How
> do I get a listing of which repos a system is subscribed too without doing
> yum update?

This is annoying.

Not pretty or efficient but it seems to work

$ repoquery -a --qf "%{REPOID}\n" | sort -u | sed "/^$/ d; /^Loading
".*" plugin$/ d"

> There is all kinds of listings made mention off in the man page but none for
> the actual repos only the packages in them.

It would be a lot easier if the repolist command were available or if
yum didn't truncate the repo names in its regular output.

John

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.