天天看点

yum安装时提示:Transaction Check Error

Transaction Check Error:

  file /usr/share/man/man5/dhcp-eval.5.gz from install of dhcp-common-12:4.1.1-43.P1.el6.centos.1.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686

  file /usr/share/man/man5/dhcp-options.5.gz from install of dhcp-common-12:4.1.1-43.P1.el6.centos.1.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686

Error Summary

-------------

找出要冲突的软件

[root@localhost /]# rpm -q dhclient --qf '%{NAME} %{VERSION} %{ARCH}' 

得到输出:

dhclient 4.1.1 i686

然后卸载掉冲突的i686包:

[root@localhost /]# rpm -e dhclient.i686

参考资料:http://www.111cn.net/sys/linux/47356.htm