What is "repoquery"? I don't seem to have that on my systems... What
package is it in? 

Thanks,

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of inode0
Sent: Tuesday, April 29, 2008 6:55 AM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] yum repository listing

On Tue, Apr 29, 2008 at 6:03 AM, Gerrard Geldenhuis
<[EMAIL PROTECTED]> wrote:
> 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
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to