Receiving "Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6" when using yum-rhn-plugin from Oracle linux repository
Issue
- Cannot download updates from Red Hat Network (RHN)
yum repolistfails, mentioningrepomd.xml:
Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again
yum repolistsucceeds, but shows zero packages available:
repo id repo name status
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86 0
repolist: 0
Environment
- Red Hat Enterprise Linux 6
- Red Hat Network Classic
- yum-rhn-plugin not shipped by Red Hat
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
