Yum fails against Red Hat Network (RHN) Hosted with 'Cannot retrieve repository metadata (repomd.xml) for repository' error

Solution Verified - Updated -


  • Getting following error while running "yum list "
# yum list
Loaded plugins: downloadonly, rhnplugin, security
 Cannot retrieve repository metadata (repomd.xml) for repository:
 rhel-x86_64-server-5. Please verify its path and try again


  • Red Hat Enterprise Linux Server 5
  • Red Hat Enterprise Linux Server 6
  • Red Hat Network (RHN)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In