DNF failing due to with wrong release version in repository path

Solution In Progress - Updated -

Issue

  • DNF is failing with 404 error due to wrong release version in the repository path:
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS  0.0  B/s |   0  B     00:01    
Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':
  - Status code: 404 for https://cdn.redhat.com/content/dist/rhel8/7Server/x86_64/baseos/os/repodata/repomd.xml Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Environment

RHEL 8

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