AWS EC2 RHEL 7.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
rpm -e --nodeps bind-libs-lite bind-license
yum install bind-utils
答え2
また、この問題が発生し、特定のパッケージバージョンであることがわかりました。ファイルに/etc/yum.repos.d/redhat-rhui.repo以下に[rhui-REGION-rhel-server-optional]
次の行を追加しました。exclude=32:bind-devel-9.9.4-50.el7_3.1.x86_64
それに応じてバージョンとセクションをブロックしてください。
答え3
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