无法在 RHEL 7.3 中安装 bind-utils,bind-license 依赖错误

无法在 RHEL 7.3 中安装 bind-utils,bind-license 依赖错误

我尝试在 AWS EC2 RHEL 7.3 实例上进行安装digbind-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

相关内容