Red Hat Enterprise 5.7 x86_64 kernel 2.6.18-274.3.1.el5
yum-rhn-plugin.noarch-0.5.4-22.el5_7.2
Running a cobbler-built local repository mirror for cobbler/PXE/Kickstarting
systems. There are third party repos and a custom repo of locally required
packages.
After an update that changed me from yum-rhn-plugin-0.5.4-22.el5 to
yum-rhn-plugin-0.5.4-22.el5_7.2, I started getting failure on any yum command
with the message "Repository rhel-x86_64-server-5 is listed more than once in
the configuration".
I found the following workarounds:
* disable yum-rhn-plugin by using "--disableplugin=rhnplugin" on the command
line
* downgrade to yum-rhn-plugin-0.5.4-22.el5 (yum-rhn-plugin-0.5.4-22.el5_7.1 has
the same issue) and put "exclude=yum-rhn-plugin" in /etc/yum.conf
It looks like an old bug crawled back into yum-rhn-plugin
Ref: <
https://access.redhat.com/kb/docs/DOC-15495>
-----------------------------------------------------
Secondary question: Is there a way I can lock out the offending versions of yum-rhn-plugin
from my local mirror until RH fixes the problem ?
I am trying removing the RPMs from the repo_mirror, put "exclude=yum-rhn-plugin"
in /etc/yum.conf and trying a "cobbler reposync"
I will report back my results.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe
is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)