[Yum] Where is this Mysterious RHEL5 Repos Defined?

Seth Vidal skvidal at fedoraproject.org
Mon Sep 15 14:12:35 UTC 2008


On Mon, 2008-09-15 at 10:11 -0400, Swiftmind wrote:
> Hello.
> 
> I am working on some systems running Red Hat Enterprise Linux 5. I am
> compiling the latest RH kernel with some custom changes on a bunch of
> these machines. I want to use yum to update the applications as well,
> but I ran into a problem with repositories. It seems my system is the
> only one with three RH repositories that contain RPMs I need to
> compile the kernels. So far yum on two other systems I worked on do
> not have these repositories. I am trying to figure out how my system
> knows about these two extra repos. Here is my information below.
> 
> [root at Huskies etc]# uname -r 
> 2.6.18-92.1.10.el5 
> [root at Huskies etc]# uname -m 
> x86_64 
> 
> [root at Huskies etc]# rpm -qa | grep yum 
> yum-updatesd-0.9-2.el5 
> yum-metadata-parser-1.1.2-2.el5 
> yum-rhn-plugin-0.5.3-12.el5_2.9 
> yum-3.2.8-9.el5_2.1 
> 
> [root at Huskies etc]# yum repolist all 
> Loading "rhnplugin" plugin 
> repo id              repo name                                 status 
> rhel-debuginfo       Red Hat Enterprise Linux 5Client - x86_6
> disabled 
> rhel-x86_64-client-5 None
> enabled 
> rhel-x86_64-client-s None
> enabled 
> rhel-x86_64-client-w None
> enabled 
> 
> =====================================
> Here is a system I am trying to update.
> 
> [root at nebulous yum.repos.d]# rpm -qa | grep yum 
> yum-updatesd-0.9-2.el5 
> yum-metadata-parser-1.1.2-2.el5 
> yum-rhn-plugin-0.5.3-12.el5_2.9 
> yum-3.2.8-9.el5_2.1 
> 
> [root at nebulous yum.repos.d]# uname -r 
> 2.6.18-92.1.1.el5 
> [root at Huskies etc]# uname -m 
> x86_64 
> 
> [root at nebulous yum.repos.d]# yum repolist all 
> Loading "rhnplugin" plugin 
> repo id              repo name                                 status 
> rhel-debuginfo       Red Hat Enterprise Linux 5Client - x86_6
> disabled 
> rhel-x86_64-client-5 None  
> 
> =====================================
> As you can see the "rhel-x86_64-client-s" and "rhel-x86_64-client-w"
> are missing. Where are these repos being defined?
> 


yum-rhn-plugin defines them on the fly. They never get an explicit
definition in a .repo file.

If you'd like to see this changed for the future I'd encourage you to
file a bug in rh's bugzilla and/or contact your TAM, if you have one.

-sv






More information about the Yum mailing list