欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

RHEL 5如何安装bind?

yum直接安装报错


[root@db1 ~]# yum install bind*
Loaded plugins: fastestmirror, katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.zju.edu.cn
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-chroot.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-devel.i386 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-devel.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-libbind-devel.i386 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-libbind-devel.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-libs.i386 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-libs.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-sdb.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind-utils.x86_64 30:9.3.6-25.P1.el5_11.3 set to be updated
---> Package bind97.x86_64 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-chroot.x86_64 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-devel.i386 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-devel.x86_64 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-libs.i386 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-libs.x86_64 32:9.7.0-21.P2.el5_11.2 set to be updated
---> Package bind97-utils.x86_64 32:9.7.0-21.P2.el5_11.2 set to be updated
--> Processing Conflict: bind97-libs conflicts bind-libs
--> Processing Conflict: bind97-libs conflicts bind-libs
--> Processing Conflict: bind97-devel conflicts bind-libbind-devel
--> Processing Conflict: bind97-devel conflicts bind-libbind-devel
--> Processing Conflict: bind97-devel conflicts bind-devel
--> Processing Conflict: bind97-devel conflicts bind-devel
--> Processing Conflict: bind97-libs conflicts bind-libs
--> Processing Conflict: bind97-libs conflicts bind-libs
--> Processing Conflict: bind97-chroot conflicts bind-chroot
--> Processing Conflict: bind97 conflicts bind
--> Processing Conflict: bind97-utils conflicts bind-utils
--> Processing Conflict: bind97-devel conflicts bind-libbind-devel
--> Processing Conflict: bind97-devel conflicts bind-libbind-devel
--> Processing Conflict: bind97-devel conflicts bind-devel
--> Processing Conflict: bind97-devel conflicts bind-devel
--> Finished Dependency Resolution
32:bind97-devel-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97-devel conflicts with bind-devel
32:bind97-libs-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97-libs conflicts with bind-libs
32:bind97-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97 conflicts with bind
32:bind97-libs-9.7.0-21.P2.el5_11.2.i386 from updates has depsolving problems
  --> bind97-libs conflicts with bind-libs
32:bind97-devel-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97-devel conflicts with bind-libbind-devel
32:bind97-utils-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97-utils conflicts with bind-utils
32:bind97-devel-9.7.0-21.P2.el5_11.2.i386 from updates has depsolving problems
  --> bind97-devel conflicts with bind-devel
32:bind97-chroot-9.7.0-21.P2.el5_11.2.x86_64 from updates has depsolving problems
  --> bind97-chroot conflicts with bind-chroot
32:bind97-devel-9.7.0-21.P2.el5_11.2.i386 from updates has depsolving problems
  --> bind97-devel conflicts with bind-libbind-devel
Error: bind97-libs conflicts with bind-libs
Error: bind97-devel conflicts with bind-libbind-devel
Error: bind97-chroot conflicts with bind-chroot
Error: bind97-utils conflicts with bind-utils
Error: bind97 conflicts with bind
Error: bind97-devel conflicts with bind-devel
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.收起

查看其它 2 个回答邓磊的回答

邓磊邓磊  系统运维工程师 , 游戏公司
这个问题就是yum源冲突了,你去/etc/yum.repos.d/里看看冲突的源,关闭后在yum clean all;yum makecache,之后在yum安装就行了。


来自  http://www.talkwithtrend.com/Question/171321-1200645

普通分类: