Yum fails with error [Errno 14] HTTP Error 403: Forbidden.
Issue
-
yum update fails with
Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating Red Hat repositories. https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 403: Forbidden
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-5-server-rpms. Please verify its path and try again -
When trying to yum update a RHEL server using EPEL repositories, the following errors are observed:
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 error was [Errno 14] HTTP Error 403: Forbidden Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Environment
- Red Hat Enterprise Linux 5/6
- Red Hat Network (RHN)
- Red Hat Subscription Management(RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.