阿里云主机Centos 7.x系列安装bind-utils报错
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#yum install bind-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.9.4-50.el7 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-50.el7
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: liblwres.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisccc.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisc.so.95()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libdns.so.100()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libbind9.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.9.4-50.el7 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-50.el7
for
package: 32:bind-libs-9.9.4-50.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 32:bind-libs-9.9.4-50.el7.x86_64 (163-epel)
Requires: bind-license = 32:9.9.4-50.el7
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-50.el7.noarch (163-epel)
bind-license = 32:9.9.4-50.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
|
分析原因:
系统安装bind这类的rpm包冲突引起,查找安装的是那些包,卸载:
1
2
3
|
#rpm -qa | grep bind
bind-license-9.9.4-50.el7_3.1.noarch
bind-libs-lite-9.9.4-50.el7_3.1.x86_64
|
yum remove bind-libs-lite bind-license-9.9.4
重新安装bind-utils
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#yum install bind-utils -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.9.4-50.el7 will be installed
--> Processing Dependency: bind-libs = 32:9.9.4-50.el7
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: liblwres.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisccfg.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisccc.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libisc.so.95()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libdns.so.100()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Processing Dependency: libbind9.so.90()(64bit)
for
package: 32:bind-utils-9.9.4-50.el7.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.9.4-50.el7 will be installed
--> Processing Dependency: bind-license = 32:9.9.4-50.el7
for
package: 32:bind-libs-9.9.4-50.el7.x86_64
--> Running transaction check
---> Package bind-license.noarch 32:9.9.4-50.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
bind-utils x86_64 32:9.9.4-50.el7 163-epel 203 k
Installing
for
dependencies:
bind-libs x86_64 32:9.9.4-50.el7 163-epel 1.0 M
bind-license noarch 32:9.9.4-50.el7 163-epel 84 k
Transaction Summary
==============================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 1.3 M
Installed size: 3.0 M
Downloading packages:
(1
/3
): bind-license-9.9.4-50.el7.noarch.rpm | 84 kB 00:00:00
(2
/3
): bind-utils-9.9.4-50.el7.x86_64.rpm | 203 kB 00:00:00
(3
/3
): bind-libs-9.9.4-50.el7.x86_64.rpm | 1.0 MB 00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.0 MB
/s
| 1.3 MB 00:00:00
Running transaction check
Running transaction
test
Transaction
test
succeeded
Running transaction
Installing : 32:bind-license-9.9.4-50.el7.noarch 1
/3
Installing : 32:bind-libs-9.9.4-50.el7.x86_64 2
/3
Installing : 32:bind-utils-9.9.4-50.el7.x86_64 3
/3
Verifying : 32:bind-license-9.9.4-50.el7.noarch 1
/3
Verifying : 32:bind-libs-9.9.4-50.el7.x86_64 2
/3
Verifying : 32:bind-utils-9.9.4-50.el7.x86_64 3
/3
Installed:
bind-utils.x86_64 32:9.9.4-50.el7
Dependency Installed:
bind-libs.x86_64 32:9.9.4-50.el7 bind-license.noarch 32:9.9.4-50.el7
Complete!
|
本文转自 boy461205160 51CTO博客,原文链接:http://blog.51cto.com/461205160/1981491