Yum command fails with 'status code 404 cannot download metadata repomd.xml' when the system locked to a specific minor version

Solution Verified - Updated -

Issue

  • While running dnf update on the clients which are registered to the Satellite server, it fails with the below error:

    [client ~]# dnf update
    Updating Subscription Management repositories.
    Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Extended Update Support (RPMs)                                              9.1  B/s |  14  B     00:01
    Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-eus-rpms':
    - Status code: 404 for https://satellite.example.com/pulp/content/org1/Library/CV1/content/eus/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 192.168.xx.xx)
    Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-eus-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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