rhn_check fails fails with error as "<class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again"

Solution Verified - Updated -

Issue

  • rhn_check fails fails with error as:
<class 'yum.Errors.RepoError'>: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-x86_64-server-6. Please verify its path and try again

Environment

  • Red Hat Enterprise Linux 6 or later
  • Red Hat Network
  • Websense SaaS Proxy

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