yum update 出现 404 错误,URL 为 https://cdn.redhat.com/

yum update 出现 404 错误,URL 为 https://cdn.redhat.com/

我正在尝试安装Snap 商店八度在 RHEL7 上官方指令

但是,命令yum update因出现错误而卡住了,提示为https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

我尝试了以下尝试进行故障排除,但没有帮助。

最终我尝试了yum-config-manager --save --setopt=rhel-7-server-e4s-optional-rpms.skip_if_unavailable=true,并且有帮助。

我想知道我在上述步骤中遗漏了什么,并且我希望修复错误并正确设置所有 YUM 存储库。

如有任何提示或建议我将不胜感激。

截屏:

[root@rhel-desktop ~]# yum update --verbose
Not loading "rhnplugin" plugin, as it is disabled
Loading "langpacks" plugin
Loading "product-id" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Adding en_US.UTF-8 to language list
Updating Subscription Management repositories.
Config time: 2.311
Yum version: 3.4.3
rpmdb time: 0.000
Updating Everything
Building updates object
Setting up Package Sacks
epel/x86_64/metalink                                                                                                                                                                        |  19 kB  00:00:00     
https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article 

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
rhel-7-server-extras-rpms                                                                                                                                                                   | 3.4 kB  00:00:00     
rhel-7-server-optional-rpms                                                                                                                                                                 | 3.2 kB  00:00:00     
rhel-7-server-rpms                                                                                                                                                                          | 3.5 kB  00:00:00     
pkgsack time: 2.907
up:Obs Init time: 0.484
up:simple updates time: 0.030
up:obs time: 0.004
up:condense time: 0.000
updates time: 3.817
No packages marked for update

相关内容