https://cdn.redhat.com/content/dist/rhel/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

Latest response

当我添加完订阅进行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时,当我保存并退出后,再次进入查看时,又回到了未修改前的状态。
1122

Responses