RHEL 6.5 no AWS, yum: Não é possível recuperar metadados do repositório devido a 404 Não encontrados

1

Eu tenho uma instância do RHEL 6.5 EC2 e o yum está quebrado

yum clean all

 $ 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 metadados limpos

 $ 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

Depois de limpo, tente atualizar a lista, mas resultar em erros 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

Eu também tentei a solução alternativa mencionada no fórum da AWS, mas não instalei o pacote link

 $ 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

Alguém pode fornecer algum conselho?

Obrigado

    
por Rangi Lin 22.03.2016 / 05:00

0 respostas