Error when running yum commands: 'Cannot retrieve repository metadata (repomd.xml)'

Solution Verified - Updated -

Issue

  • When running yum commands errors occur:
[root@computer /]# yum update
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: redhat-rhn-satellite-5.5-server-x86_64-6. Please verify its path and try again
[root@computer /]# yum list
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: redhat-rhn-satellite-5.5-server-x86_64-6. Please verify its path and try again

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • RHN Satellite 5.4.1
  • Customer Portal

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content