[Yum] Where is this Mysterious RHEL5 Repos Defined?

Swiftmind swiftmind at gmail.com
Mon Sep 15 14:11:08 UTC 2008


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?

Here is my /etc/yum.conf, it is default I think

[root at Huskies etc]# cat yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

=====================================
[root at Huskies yum.repos.d]# pwd
/etc/yum.repos.d

[root at Huskies yum.repos.d]# ls -a
.  ..  rhel-debuginfo.repo

[root at Huskies yum.repos.d]# cat rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

=====================================

[root at Huskies yum]# pwd
/etc/yum
[root at Huskies yum]# ls -a
.  ..  pluginconf.d  yum-updatesd.conf

[root at Huskies yum]# cat yum-updatesd.conf
[main]
# how often to check for new updates (in seconds)
run_interval = 3600
# how often to allow checking on request (in seconds)
updaterefresh = 600

# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes

# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no


[root at Huskies yum]# cd pluginconf.d/

[root at Huskies pluginconf.d]# ls -a
.  ..  rhnplugin.conf
[root at Huskies pluginconf.d]# cat rhnplugin.conf
[main]
enabled = 1
gpgcheck = 1

=====================================
I am thinking there is another location where repositories are defined. But
so far everything I read has only mentioned yum.conf or /etc/yum.repos.d.
Any help on figuring this out is appreciated. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20080915/02f715cc/attachment-0001.htm 


More information about the Yum mailing list