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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.