ヤムのインストール依存関係の問題

ヤムのインストール依存関係の問題

ansibleインターネットのないサーバーにインストールしたいが、次のエラーが発生します。

Error: Package: 1:openssl-devel-1.0.1e-60.el7.x86_64 (@local-repo)
           Requires: openssl-libs(x86-64) = 1:1.0.1e-60.el7
           Removing: 1:openssl-libs-1.0.1e-60.el7.x86_64 (@anaconda)
               openssl-libs(x86-64) = 1:1.0.1e-60.el7
           Updated By: 1:openssl-libs-1.0.2k-12.el7.x86_64 (local-repo)
               openssl-libs(x86-64) = 1:1.0.2k-12.el7
Error: Package: 1:openssl-perl-1.0.1e-60.el7.x86_64 (@local-repo)
           Requires: openssl(x86-64) = 1:1.0.1e-60.el7
           Removing: 1:openssl-1.0.1e-60.el7.x86_64 (@anaconda)
               openssl(x86-64) = 1:1.0.1e-60.el7
           Updated By: 1:openssl-1.0.2k-12.el7.x86_64 (local-repo)
               openssl(x86-64) = 1:1.0.2k-12.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

ローカル ストアにopenssl-1.0.1e-60.el7.x86_64ありますが、更新できません。openssl-libs-1.0.1e-60.el7.x86_64

ベストアンサー1

問題はyumそれほどスマートではないということだ。あなたがインストールしようとしていますが、openssl-devel-1.0.1e-60そのyum人もインストールする必要があることが検出されましたopenssl-libs。彼はopenssl-libs最新バージョンをインストールできることを検出しましたが、これはopenssl-devel-1.0.1e-60次のバージョンと競合します。

考えられる解決策は2つあります。

  • openssl-devel-1.0.2k-12.el7.x86_64ローカルストレージで利用可能であることを確認してください。
  • 以前のパッケージの強制yumインストールopenssl-libs:yum install openssl-devel-1.0.1e-60 openssl-libs-1.0.1e-60 openssl-1.0.1e-60

おすすめ記事