新しく作成されたミラーストアがソースストアとして機能しないのはなぜですか?

新しく作成されたミラーストアがソースストアとして機能しないのはなぜですか?

私はテストサーバーでRockyLinux 8.5を使用しており、実際にはインターネットにアクセスできず、ローカルストレージにのみアクセスできるため、一部のアプリケーション用のローカルストアを作成したいと思います。

以下を使用してパッケージとその依存関係をダウンロードしました。

yumdownloader --installroot=/tmp/empty --resolve ipa-client --destdir ~/.

次にそれを使用してcreaterepo_c modifyrepo_c / repodataを作成します。

ただし、このリポジトリからipa-clientをインストールしようとすると、リモートリポジトリを使用しても発生しないエラーが発生します。

Error: 
 Problem: problem with installed package authselect-compat-1.2.2-3.el8.x86_64
  - package authselect-compat-1.2.2-3.el8.x86_64 requires authselect(x86-64) = 1.2.2-3.el8, but none of the providers can be installed
  - cannot install both authselect-1.2.5-2.el8_7.x86_64 and authselect-1.2.2-3.el8.x86_64
  - package ipa-client-4.9.10-9.module+el8.7.0+1120+659f71b8.x86_64 requires authselect >= 1.2.5, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package authselect-1.2.2-3.el8.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

これは私にこのような質問をさせます。

ベストアンサー1

だから私はちょうどを使用してyum install ipa-client --allowerasing問題のあるパッケージを見つけてyumdownloader --resolve1つずつダウンロードしてリポジトリに追加しました。

理由はわかりませんが、yumdownloader --installroot=/tmp/empty --resolve ipa-client --destdir ~/.すべての依存関係をダウンロードするわけではありません。

おすすめ記事