yum 在 Red Hat Enterprise Linux 7 上失败,并显示错误 "[Errno 14] HTTPS Error 404 - Not Found"。
Issue
- 运行 yum 命令时出现以下错误
yum repolist all
Loaded plugins: langpacks, product-id, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/7/7.0-1.el7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7.0-1.el7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7.0-1.el7/x86_64/highavailability/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/dist/rhel/server/7/7.0-1.el7/x86_64/resilientstorage/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
repo id rep status
rhel-7-server-rpms/7.0-1.el7/x86_64 Red enabled: 0
rhel-ha-for-rhel-7-server-rpms/7.0-1.el7/x86_64 Red enabled: 0
rhel-rs-for-rhel-7-server-rpms/7.0-1.el7/x86_64 Red enabled: 0
repolist: 0
- 注册到 Red Hat Satellite 6 的 Red Hat Enterprise Linux 7 客户端。当通过 yum update 下载软件包时,yum install 或 yumdownloader 失败,并显示 404 错误。
[root@rhel7]#yumdownloader tzdata
Loaded plugins: langpacks, product-id
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
tzdata-2014e-1.el7.noarch.rpm FAILED
https://satellite.fqdn/pulp/repos/CWRU/Library/CWRU-test-1/content/dist/rhel/server/7/7.0/x86_64/os/Packages/tzdata-2014e-1.el7.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
tzdata-2014e-1.el7.noarch: [Errno 256] No more mirrors to try.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.