
sou eu novamente. Infelizmente, enquanto tentava instalar outro repositório, quebrei o repositório yum original e agora aparece uma mensagem de erro:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] Erro HTTPS 404 - Não encontrado Tentando outro espelho. Para resolver esse problema, consulte o artigo da base de conhecimento abaixo
https://access.redhat.com/articles/1320623
Se o artigo acima não ajudar a resolver esse problema, abra um ticket com o Suporte da Red Hat.
rhel-server-rhscl-7-beta-rpms | 4,0 KB 00:00:00
Um dos repositórios configurados falhou (Red Hat Software Collections Beta RPMs para Red Hat Enterprise Linux 7 Server) e yum não tem dados em cache suficientes para continuar. Neste ponto, a única coisa segura que você pode fazer é falhar. Existem algumas maneiras de "consertar" isso:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable rhel-server-rhscl-7-beta-rpms
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=rhel-server-rhscl-7-beta-rpms.skip_if_unavailable=true
falha: repodata/repomd.xml.asc de rhel-server-rhscl-7-beta-rpms: [Errno 256] Não há mais espelhos para tentar. https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] Erro HTTPS 404 - Não encontrado
Alguém sabe como resolvo esse problema? Já removi o outro repositório que apresentava o problema.
Editar: usei wget e é isso que retornou:
wget https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc
--22/09/2016 14:52:19-- https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs%E2%80%8C%E2%80%8Bcl/1/os/repodata/rep%E2%80%8C% E2%80%8Bomd.xml.asc
Resolvendo cdn.redhat.com (cdn.redhat.com)... 173.222.216.251 Conectando-se a cdn.redhat.com (cdn.redhat.com)|173.222.216.251|:443... conectado. ERRO: não é possível verificar o certificado de cdn.redhat.com, emitido por '/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[e-mail protegido]': Certificado autoassinado encontrado. Para se conectar ao cdn.redhat.com de forma insegura, use --no-check-certificate'.--no-check-certificate'. --2016-09-22 14:52:19-- https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs%E2%80%8C%E2%80%8Bcl/1/os/repodata/rep%E2%80%8C%E2%80%8Bomd.xml.asc Connecting to cdn.redhat.com (cdn.redhat.com)|173.222.216.251|:443... connected. ERROR: cannot verify cdn.redhat.com's certificate, issued by ‘/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[email protected]’: Self-signed certificate encountered. To connect to cdn.redhat.com insecurely, use
Responder1
Percebi a mesma coisa recentemente com o Red Hat Developer Subscription. A maioria dos repositórios de assinatura padrão não são necessários e, como você pode ver, pelo menos um deles nem funciona. Sua melhor aposta é desabilitar o repositório problemático, conforme detalhado na saída de erro que você postou.
yum-config-manager --disable rhel-server-rhscl-7-beta-rpms
Melhor ainda, para evitar o download de uma grande quantidade de dados desnecessários do repositório, desative todos os repositórios e apenas ative o repositório base.
yum-config-manager --disable '*'
yum-config-manager --enable rhel-7-server-rpms
Você também pode considerar ativar rhel-7-server-optional-rpms
e rhel-7-server-extras-rpms
, que possuem itens úteis, como pacotes docker e *-devel.
Responder2
Tente limpar as coisas com yum clean all
, veja se isso ajuda.