Yum is failing with Status code 404 on RHEL 9 system when EUS repository is enabled

Solution Verified - Updated -

Issue

  • After enabling EUS repository on RHEL 9 system, system is not fetching any updates.
  • Receiving Status code: 404 error for EUS repository on RHEL 9 system
  • Yum update results in below error:

    # yum update
    Updating Subscription Management repositories.
    Red Hat Enterprise Linux 9 for x86_64 - BaseOS - Extended Update Support (RPMs)               0.0  B/s |   0  B     00:02
    Errors during downloading metadata for repository 'rhel-9-for-x86_64-baseos-eus-rpms':
    - Status code: 404 for https://cdn.redhat.com/content/eus/rhel9/9/x86_64/baseos/os/repodata/repomd.xml (IP: 23.252.246.142)
    Error: Failed to download metadata for repo 'rhel-9-for-x86_64-baseos-eus-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    

Environment

  • Red Hat Enterprise Linux
    • 9.x

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