Yum problemas después de instalar otro repositorio

Yum problemas después de instalar otro repositorio

soy yo otravez. Desafortunadamente, mientras intentaba instalar otro repositorio, rompí el repositorio de yum original y ahora aparece un mensaje de error:

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] Error HTTPS 404 - No encontrado Intentando con otro espejo. Para solucionar este problema, consulte el siguiente artículo de la base de conocimientos.

https://access.redhat.com/articles/1320623

Si el artículo anterior no ayuda a resolver este problema, abra un ticket con el soporte de Red Hat.

servidor-rhel-rhscl-7-beta-rpms | 4,0 kB 00:00:00

Uno de los repositorios configurados falló (RPM Beta de Red Hat Software Collections para Red Hat Enterprise Linux 7 Server) y yum no tiene suficientes datos en caché para continuar. En este punto, lo único seguro que puede hacer Yum es fallar. Hay algunas formas de trabajar para "arreglar" esto:

 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

falla: repodata/repomd.xml.asc de rhel-server-rhscl-7-beta-rpms: [Errno 256] No hay más espejos para probar. https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] Error HTTPS 404: no encontrado

¿Alguien sabe cómo soluciono este problema? Ya eliminé el otro repositorio que tenía el problema.

Editar: usé wget, y esto es lo que devolvió:

wget https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs‌​cl/1/os/repodata/rep‌​omd.xml.asc

--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 Resolviendo cdn.redhat.com (cdn.redhat.com)... 173.222.216.251 Conectándose a cdn.redhat.com (cdn.redhat.com)|173.222.216.251|:443... conectado. ERROR: no se puede verificar el 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/[correo electrónico protegido]': Se encontró un certificado autofirmado. Para conectarse a cdn.redhat.com de forma insegura, utilice --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

Respuesta1

Noté lo mismo recientemente con la suscripción para desarrolladores de Red Hat. La mayoría de los repositorios de suscripción predeterminados no son necesarios en absoluto y, como puede ver, al menos uno de ellos ni siquiera funciona. Su mejor opción es deshabilitar el repositorio problemático, como se detalla en el resultado de error que publicó.

yum-config-manager --disable rhel-server-rhscl-7-beta-rpms

Aún mejor, para evitar descargar una gran cantidad de datos de repositorio innecesarios, deshabilite todos los repositorios y simplemente habilite el repositorio base.

yum-config-manager --disable '*'
yum-config-manager --enable rhel-7-server-rpms

También podrías considerar habilitar rhel-7-server-optional-rpmsy rhel-7-server-extras-rpms, que tienen cosas útiles como los paquetes Docker y *-devel.

Respuesta2

Intente limpiar las cosas con yum clean all, vea si eso ayuda.

información relacionada