替换etc/yum.repos.d/redhat.repo时报错

替换etc/yum.repos.d/redhat.repo为CentOS-Base.repo时,报错如下,求指点:

[root@zhiwang-01 yum.repos.d]# yum makecache
已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Determining fastest mirrors
http://mirrors.163.com/centos/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
尝试其他镜像。
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.

错误:Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

转载于:https://my.oschina.net/19870817/blog/716406

你可能感兴趣的:(替换etc/yum.repos.d/redhat.repo时报错)