yum中的RHEL 6.5:由于404 Not Found而无法检索存储库元数据

我有一个RHEL 6.5 EC2的实例,百胜破了

yum干净一切

$ yum clean all Loaded plugins: amazon-id, rhui-lb, security Cleaning repos: dag epel rhui-REGION-client-config-server-6 rhui-REGION-rhel-server-releases rhui-REGION-rhel-server-releases-optional : rhui-REGION-rhel-server-rh-common rhui-REGION-rhel-server-rhscl webmin Cleaning up Everything 

百胜干净的元数据

  $ yum clean metadata Loaded plugins: amazon-id, rhui-lb, security Cleaning repos: dag epel rhui-REGION-client-config-server-6 rhui-REGION-rhel-server-releases rhui-REGION-rhel-server-releases-optional : rhui-REGION-rhel-server-rh-common rhui-REGION-rhel-server-rhscl webmin 0 metadata files removed 0 sqlite files removed 0 metadata files removed 

干净后,尝试列表更新,但会导致404错误

  $ yum list update Loaded plugins: amazon-id, rhui-lb, security dag | 1.9 kB 00:00 dag/primary_db | 2.7 MB 00:03 epel/metalink | 5.2 kB 00:00 epel | 4.3 kB 00:00 epel/primary_db | 5.8 MB 00:00 rhui-REGION-client-config-server-6 | 2.9 kB 00:00 rhui-REGION-client-config-server-6/primary_db | 6.0 kB 00:00 https://rhui2-cds02.ap-northeast-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/6/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. https://rhui2-cds01.ap-northeast-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/6/%24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-REGION-rhel-server-releases. Please verify its path and try again 

我也尝试了AWS论坛中提到的解决方法,但未能安装该软件包https://forums.aws.amazon.com/thread.jspa?threadID=76738

  $ rpm -Uhv http://redhat-clientconfig-ap-northeast-1.s3.amazonaws.com/rh-amazon-rhui-client-2.2.16-1.el6.noarch.rpm Retrieving http://redhat-clientconfig-ap-northeast-1.s3.amazonaws.com/rh-amazon-rhui-client-2.2.16-1.el6.noarch.rpm error: Failed dependencies: /bin/bash is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch /bin/sh is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch /usr/bin/python is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch /usr/bin/python2 is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch chkconfig is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch yum >= 3.2.22-20 is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch yum-rhn-plugin is needed by rh-amazon-rhui-client-2.2.16-1.el6.noarch 

任何人可以提供一些build议?

谢谢