我正在使用Amazon EC2的实例,Redhat。
由于我上次更新了yum,它不再起作用,总是收到404找不到的错误消息,例如:
failure: repodata/repomd.xml from rhui-REGION-rhel-server-releases: [Errno 256] No more mirrors to try.
https://rhui2-cds01.us-east-2.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
https://rhui2-cds02.us-east-2.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
任何人都知道解决方案吗?
答案 0 :(得分:0)
根据redhat https://access.redhat.com/articles/1320623
典型原因如果客户端系统能够 与给定的服务器通信,但找不到或访问该服务器 服务器上请求的软件包。
解决方案由于本地客户端损坏,可能会发生此问题 缓存,请尝试清除客户端系统上的缓存:
尝试
rm -fr /var/cache/yum/*
yum clean all
然后
yum update