Empty mirror list and no basepath specified!

Solution Verified - Updated -

Issue

  • Yum/DNF returns error:
# yum update
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                   0.0  B/s |   0  B     00:00
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Empty mirror list and no basepath specified!
  • DNF fails with error Empty mirror list and no basepath specified!

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Management

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