別のリポジトリをインストールした後に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 | rhel-server-rhscl-7-beta-rpms | rhel-server-rhscl-7-beta-rpms 4.0KB 00:00:00

構成されたリポジトリの1つ(Red Hat Enterprise Linux 7 Server用Red Hat Software Collections Beta RPM)が失敗し、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

失敗: rhel-server-rhscl-7-beta-rpms の repodata/repomd.xml.asc: [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 に接続中... 接続されました。エラー: '/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/ によって発行された cdn.redhat.com の証明書を確認できません。[Eメール保護]':自己署名証明書が見つかりました。 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開発者サブスクリプションでも同じ現象が発見されました。ほとんどのデフォルトの購読リポジトリはこれをまったく必要とせず、見てわかるように、それらのうちの少なくとも1つは機能しません。最善の方法は、公開されたエラー出力で詳しく説明されているように、問題のあるストレージを無効にすることです。

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

より良い方法は、不要なストレージデータを大量にダウンロードしたくない場合は、すべてのストレージを無効にして必要なストレージのみを有効にすることです。

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

dockerや* -develパッケージなどの便利な機能が含まれており、有効にすることもrhel-7-server-optional-rpms検討できます。rhel-7-server-extras-rpms

おすすめ記事