RHEL AI 1.2 yum/dnf failure due to curl error (6)

Solution Verified - Updated -

Issue

During a yum or dnf transaction, it fails with the following error:

Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)                                                                                                23 MB/s |  35 MB     00:01
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                                                                                             30 MB/s |  43 MB     00:01
Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs)                                                                                            9.6 MB/s | 9.5 MB     00:00
RHEL AI 1.2 RHEL 9 RPMs                                                                                                                             0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'rhelai-1.2':
  - Curl error (6): Couldn't resolve host name for https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel9/x86_64/rhelai/1.2/os/repodata/repomd.xml [Could not resolve host: rhsm-pulp.corp.redhat.com]
Error: Failed to download metadata for repo 'rhelai-1.2': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Environment

Red Hat Enterprise Linux AI 1.2

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