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