DNF update on Satellite client fails with MD_TYPE_PRIMARY has failed error.

Solution Verified - Updated -

Issue

  • DNF update on a Red Hat Satellite client fails with the following error:

    Error: Loading repository 'rhel-8-for-x86_64-baseos-rpms' has failed
    
    Looking on keywords 'rhel-8-for-x86_64-baseos-rpms' has failed and 'failure: loading of MD_TYPE_PRIMARY has failed.' did not have any fruitful results.
    

Environment

  • Red Hat Satellite 6.x
  • Red Hat Enterprise Linux 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