dnf command fails with error "GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: Status code: 404"

Solution Verified - Updated -

Issue

dnf command fails with an error.

Errors during downloading metadata for repository 'rhel-9-for-x86_64-highavailability-rpms':
- Status code: 404 for https://<cds-url>/dist/rhel9/9/x86_64/highavailability/os/repodata/repomd.xml.asc (IP: xx.xx.xx.xx)
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-highavailability-rpms': GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: Status code: 404 for https://<cds-url>/dist/rhel9/9/x86_64/highavailability/os/repodata/repomd.xml.asc (IP: xx.xx.xx.xx)

Environment

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.

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