On 09/02/2011 02:10 PM, Marco Shaw wrote:
I have some RHEL5 servers that have been through a few changes. They
may have been once connected to an Oracle patch server, but more
recently to a custom YUM server/repository.
I thought the only places I would need to check were /etc/yum.conf or
/etc/yum.repos.d to check for any old configs. Are there any other
places I need to check? I have some servers that a "yum install
some_package" will still go to the old custom (now removed) YUM server
built for a short-term project, and I cannot find where to reset that
to use our internal Satellite server.
Marco
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
There are also plugins that can be defined in /etc/yum/. For example,
the RHN repo isn't defined in a repo stanza/file in /etc/yum.conf or in
/etc/yum.repos.d. The RHN plugin uses /etc/sysconfig/up2date as a config
file, so if one of the repositories was defined there, it would still
try and poll for updates.
Ultimately, I'd do a "yum clean all" and then a
strace -fvvvto /var/tmp/yum.strace -s 2048 yum repolist
and then go search /var/tmp/yum.strace for the offending repo id
(followed by searching around that spot in the trace for the file that
defined it).
Hugh
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list