On Capsule clients, yum commands fails with error 'Status code:404 Cannot download repomd.xml: Cannot download repodata/repomd.xml'

Solution Verified - Updated -

Issue

  • On the clients connected to Capsule. yum commands fails with the following error.
Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms':
  - Status code: 404 for https://capsule.example.com/pulp/content/RedHat/First/OLD_CV/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml (IP: xx.xx.xxx.xx)
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Environment

  • Red Hat Satellite 6
  • Red Hat Satellite Capsule

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