yum fails with error "[Errno 14] HTTP Error 404: Not Found" on RHEL 7.x system

Solution Verified - Updated -

Issue

  • On Red Hat Enterprise Linux 7.x system, getting error "https://cdn.redhat.com/content/dist/rhel/server/6/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found" while fetching repositories using yum.
# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/6/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.

Environment

  • Red Hat Enterprise Linux Server 7.x
  • Red Hat Subscription Management (RHSM)

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