Execution of dnf or yum command on the host registered to Red Hat Satellite fails with error "Status code: 404 Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms'"
Issue
-
Execution of dnf or yum command on the client registered to Red Hat Satellite when the Content View attached to the client has only a repository of a specific version fails with the
404 error - Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms'.# dnf update Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 245 B/s | 14 B 00:00 Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms': - Status code: 404 for https://satellite.example.com/pulp/content/Org/LCE/CV/content/dist/rhel9/9/x86_64/appstream/os/repodata/repomd.xml (IP: X.X.X.X) Error: Failed to download metadata for repo 'rhel-9-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 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.