天天看點

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