Проблемы с Yum после установки другого репозитория

Проблемы с Yum после установки другого репозитория

это снова я. К сожалению, пока я пытался установить другой репозиторий, я сломал оригинальный репозиторий yum, и теперь появляется сообщение об ошибке:

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] Ошибка HTTPS 404 - Не найдено Попытка другого зеркала. Для решения этой проблемы обратитесь к статье базы знаний ниже

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

Если приведенная выше статья не помогла решить проблему, пожалуйста, отправьте заявку в службу поддержки Red Hat.

rhel-server-rhscl-7-beta-rpms | 4.0 кБ 00:00:00

Один из настроенных репозиториев дал сбой (Red Hat Software Collections Beta RPMs для Red Hat Enterprise Linux 7 Server), и у yum недостаточно кэшированных данных для продолжения. На этом этапе единственное безопасное, что может сделать yum, — это дать сбой. Есть несколько способов «исправить» это:

 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

ошибка: repodata/repomd.xml.asc из rhel-server-rhscl-7-beta-rpms: [Errno 256] Больше нет зеркал для проверки. https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] Ошибка HTTPS 404 — Не найдено

Кто-нибудь знает, как решить эту проблему? Я уже удалил другой репозиторий, в котором была проблема.

Редактировать: использовал wget, и вот что вернулось:

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 Разрешение cdn.redhat.com (cdn.redhat.com)... 173.222.216.251 Подключение к cdn.redhat.com (cdn.redhat.com)|173.222.216.251|:443... подключено. ОШИБКА: невозможно проверить сертификат cdn.redhat.com, выпущенный '/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[email protected]': Обнаружен самоподписанный сертификат. Для небезопасного подключения к cdn.redhat.com используйте --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

решение1

Недавно я заметил то же самое с подпиской Red Hat Developer. Большинство репозиториев подписки по умолчанию вообще не нужны, и, как вы видите, по крайней мере один из них даже не работает. Лучше всего отключить проблемный репозиторий, как подробно описано в выложенном вами сообщении об ошибке.

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

Еще лучше, чтобы избежать загрузки большого объема ненужных данных репозитория, отключите все репозитории и включите только базовый репозиторий.

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

Вы также можете рассмотреть возможность включения rhel-7-server-optional-rpmsи rhel-7-server-extras-rpms, которые содержат полезные функции, такие как пакеты docker и *-devel.

решение2

Попробуйте почистить с помощью yum clean all, посмотрите, поможет ли это.

Связанный контент