| Summary: | yum-rhn-plugin busted: Repository rhel-x86_64-server-5 is listed more than once in the configuration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Dan <ygor> |
| Component: | yum-rhn-plugin | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.7 | CC: | slukasik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-18 18:46:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dan
2011-10-13 18:38:30 UTC
It looks like an old bug crawled back into yum-rhn-plugin Ref: <https://access.redhat.com/kb/docs/DOC-15495> Could You please provide more verbose reproducer? What exactly have you done before the error started to pop-up. On which yum command do you see the error? On my machine yum repolist with yum-rhn-plugin-0.5.4-22.el5_7.2 works like a charm. A more verbose reproducer ? I set up a cobbler server with local repo mirrors reference: <https://fedorahosted.org/cobbler/wiki/ManageYumRepos> I have all Red Hat 5.7 channels for both i386 and x86_64 defined as well as EPEL5, a repo for HP ProLiant hardware management software and one repo of in-house custom built RPM's. I am building machines with cobbler PXE kickstart - references: https://fedorahosted.org/cobbler/wiki/KickstartTemplating https://fedorahosted.org/cobbler/wiki/KickstartSnippets After the new machine is built, any yum command fails to run with the message "Repository rhel-x86_64-server-5 is listed more than once in the configuration". On the client, I ripped out the entire /etc/yum.repo.d/ directory and rebuilt it one piece at a time. None of these actions made the problem go away. Disabling the plugin lets the yum commands work as does downgrading the installed package. However, this breaks my hands-free system build environment as I have to manually log into each client box, downgrade the package, lock it with yum-versionlock, and then complete the setup process. On which yum command do I see the error? Any/every command without disabling the plugin You say that on your machine yum repolist with yum-rhn-plugin-0.5.4-22.el5_7.2 works like a charm. Was this test machine built the same way that mine was ? From a cobbler/pxe-boot/kickstart on a server with local mirrors ? FYI: I have a RHN Case on this as well https://access.redhat.com/support/cases/00546517 This is not a bug. Multiple repositories with the same name are not allowed by Yum. The label is actually the identifier of repository. If a machine has configured a repository with the label equal to rhn channel, some of Yum operations will fail. The failure is actually good thing in this case. Because it will draw an attention of the administrator. Additionally, the error message describes the situation well. Not much to fix. |