为什么 yum 失败并显示错误 "Cannot download repomd.xml"?
Issue
-
yum 失败并显示错误
Cannot download repomd.xml
:
在下载存储库 'rhel-8-for-x86_64-baseos-rpms' 的元数据时出现错误。- Status code: 403 for https://cdn.redhat.com/content/dist/rhel8//x86_64/baseos/os/repodata/repomd.xml (IP: 23.58.8.251) Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.