https://cdn.redhat.com/content/dist/rhel/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
当我添加完订阅进行repolist时提示以下错误。。
[root@Nerc ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
https://cdn.redhat.com/content/dist/rhel/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
repo id repo name status
cdrom cdrom 4,305
rhel-7-server-rpms/$releasever/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 0
repolist: 4,305
需要怎么解决?
我尝试着去修改redhat.repo文件,将文件中的$releaserver替换成7Server时,当我保存并退出后,再次进入查看时,又回到了未修改前的状态。


Responses
Hello WinJay,
The posting is very confusing, I summarize why: * you post it under Red Hat Enterprise Linux for ARM64
you seem to get a Red Hat Enterprise Linux 7 for x86_64 repository error, are you trying to mix ARM64 and x86_64 repositories?
you seem to use a CentOS wiki to find a solution. The later do no always apply to RHEL.
Regards,
Jan Gerrit Kootstra
=================================================================================
你好WinJay,
这个帖子很混乱,我总结了原因: *您将它发布在Red Hat Enterprise Linux for ARM64下
*您似乎获得了用于x86_64存储库错误的Red Hat Enterprise Linux 7,您是否尝试混合使用ARM64和x86_64存储库?
*您似乎使用CentOS wiki来寻找解决方案。 后者并不总是适用于RHEL。
问候,
Jan Gerrit Kootstra
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
