出于某种原因,yum已经停止在位于欧盟西部地区的亚马逊EC2实例中工作。 回购元数据的path似乎有问题,这是正确的吗? 我非常感谢任何帮助,因为我在这方面的经验有限。
猫/ etc / redhat-release:
Red Hat Enterprise Linux Server release 6.2 (Santiago)
yum repolist:
Loaded plugins: amazon-id, rhui-lb, security https://rhui2-cds01.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401" Trying other mirror. https://rhui2-cds02.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401" Trying other mirror. repo id repo name status rhui-eu-west-1-client-config-server-6 Red Hat Update Infrastructure 2.0 Client Configuration Server 6 0 rhui-eu-west-1-rhel-server-releases Red Hat Enterprise Linux Server 6 (RPMs) 0 rhui-eu-west-1-rhel-server-releases-optional Red Hat Enterprise Linux Server 6 Optional (RPMs) 0 repolist: 0
yum update:(由于ServerFault对新用户的限制,我需要删除下面的基本URL)
Loaded plugins: amazon-id, rhui-lb, security [same as base url 1 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401" Trying other mirror. [same as base url 2 above]/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-eu-west-1-client-config-server-6. Please verify its path and try again
看看这个https://forums.aws.amazon.com/message.jspa?messageID=389303
看起来你有同样的问题。 AWS论坛上的问题还没有解决,但我希望它能帮助你理解这个问题。
尝试运行:
yum clean all rhn_check -vv
可能有同样的问题,在这个链接,其中还包括一个修复(发布由Mostafa重新计费产品设置为空): https ://forums.aws.amazon.com/thread.jspa?threadID=128658
您必须在安全组中添加HTTPS的入站规则,然后才能工作