web-dev-qa-db-ja.com

RHEL 7.3にbind-utilsをインストールできません、bind-licenseの依存関係エラー

AWS EC2 RHEL7.3インスタンスにDigからbind-utilsをインストールしようとしていますが、依存関係エラーが発生します。

Requires: bind-license = 32:9.9.4-37.el7

だが

Installed: 32:bind-license-9.9.4-38.el7_3.noarch

が利用可能であるため、必要なバージョンをそのようにインストールしようとしましたが、成功しませんでした。

[root@ip-171-32-49-95 tmp]# yum install bind-license-9.9.4-37.el7.noarch
Loaded plugins: Amazon-id, rhui-lb, search-disabled-repos
Package matching 32:bind-license-9.9.4-37.el7.noarch already installed. Checking for update.
Nothing to do

何が得られますか?ここにbind-utilsをインストールするにはどうすればよいですか?

完全なトランザクションログは次のとおりです。

[root@ip-171-32-49-95 tmp]# yum install bind-utils
Loaded plugins: Amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.9.4-37.el7 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-37.el7 for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: libbind9.so.90()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-utils-9.9.4-37.el7.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.9.4-37.el7 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-37.el7 for package: 32:bind-libs-9.9.4-37.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 32:bind-libs-9.9.4-37.el7.x86_64 (rhui-REGION-rhel-server-releases)
           Requires: bind-license = 32:9.9.4-37.el7
           Installed: 32:bind-license-9.9.4-38.el7_3.noarch (@rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-38.el7_3
           Available: 32:bind-license-9.9.4-14.el7.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-14.el7
           Available: 32:bind-license-9.9.4-14.el7_0.1.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-14.el7_0.1
           Available: 32:bind-license-9.9.4-18.el7.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7
           Available: 32:bind-license-9.9.4-18.el7_1.1.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7_1.1
           Available: 32:bind-license-9.9.4-18.el7_1.2.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7_1.2
           Available: 32:bind-license-9.9.4-18.el7_1.3.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7_1.3
           Available: 32:bind-license-9.9.4-18.el7_1.4.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7_1.4
           Available: 32:bind-license-9.9.4-18.el7_1.5.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-18.el7_1.5
           Available: 32:bind-license-9.9.4-29.el7.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-29.el7
           Available: 32:bind-license-9.9.4-29.el7_2.1.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-29.el7_2.1
           Available: 32:bind-license-9.9.4-29.el7_2.2.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-29.el7_2.2
           Available: 32:bind-license-9.9.4-29.el7_2.3.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-29.el7_2.3
           Available: 32:bind-license-9.9.4-29.el7_2.4.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-29.el7_2.4
           Available: 32:bind-license-9.9.4-37.el7.noarch (rhui-REGION-rhel-server-releases)
               bind-license = 32:9.9.4-37.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
1
Drakes

私もこの問題に遭遇し、それが特定のパッケージバージョンであることがわかりました。ファイル内/ etc/yum.repos.d/redhat-rhui.repo under [rhui-REGION-rhel-server-optional]次の行を追加しました:exclude=32:bind-devel-9.9.4-50.el7_3.1.x86_64

それに応じてバージョンとセクションをブロックします。

1
Andrew Stoltz
rpm -e --nodeps bind-libs-lite bind-license
yum install bind-utils
1
John King

yum downgradeを介して同じ問題を修正しました。@ john-kingと@ jeff-schallerに感謝します。

$ Sudo yum downgrade -y bind-license bind-libs-lite

私の場合、依存関係エラー。

$ Sudo yum install -y bind-utils
...
Error: Package: 32:bind-libs-9.9.4-38.el7_3.2.x86_64 (ltzwk-upadte)
           Requires: bind-license = 32:9.9.4-38.el7_3.2
           Installed: 32:bind-license-9.9.4-50.el7_3.1.noarch (@updates)
               bind-license = 32:9.9.4-50.el7_3.1
           Available: 32:bind-license-9.9.4-29.el7.noarch (ltzwk-base)
               bind-license = 32:9.9.4-29.el7
           Available: 32:bind-license-9.9.4-29.el7_2.1.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-29.el7_2.1
           Available: 32:bind-license-9.9.4-29.el7_2.2.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-29.el7_2.2
           Available: 32:bind-license-9.9.4-29.el7_2.3.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-29.el7_2.3
           Available: 32:bind-license-9.9.4-29.el7_2.4.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-29.el7_2.4
           Available: 32:bind-license-9.9.4-37.el7.noarch (ltzwk-base)
               bind-license = 32:9.9.4-37.el7
           Available: 32:bind-license-9.9.4-38.el7_3.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-38.el7_3
           Available: 32:bind-license-9.9.4-38.el7_3.1.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-38.el7_3.1
           Available: 32:bind-license-9.9.4-38.el7_3.2.noarch (ltzwk-upadte)
               bind-license = 32:9.9.4-38.el7_3.2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
0
Chu-Saing Lai