Saturday, February 2, 2013

Fix Transaction Check Error for fox on CentOS Linux

修正於 CentOS 安裝 fox 套件時,發生 Transaction Check Error 錯誤。

fox 套件資訊
fox.x86_64 : Toolkit for GUI development
fox-devel.x86_64 : Header files, libraries and development documentation for fox.

安裝 fox 套件。
$ sudo yum install fox-devel
安裝 fox-1.6.33-1.el5.rf.x86_64 時,出現以下錯誤:

Transaction Check Error:
  file /usr/lib64/libCHART-1.6.so.0 from install of fox-1.6.33-1.el5.rf.x86_64 conflicts with file from package libfox1_6-1.6.44-28.1.x86_64
  file /usr/lib64/libFOX-1.6.so.0 from install of fox-1.6.33-1.el5.rf.x86_64 conflicts with file from package libfox1_6-1.6.44-28.1.x86_64

查看已安裝的 fox 相關套件。
$ yum list installed | grep fox
fox16.x86_64                              1.6.44-28.1                  installed
libfox1_6.x86_64                          1.6.44-28.1                  installed

移除發生衝突的 libfox1 套件
$ sudo yum remove libfox1_6.x86_64

上述指令將同時移除 libfox1_6.x86_64 和 fox16.x86_64。

重新安裝 fox 套件。
$ sudo yum install fox-devel

成功安裝 fox.x86_64 (1.6.33-1.el5.rf) 和 fox-devel.x86_64 (1.6.33-1.el5.rf)。

查看安裝後的系統。
$ yum list installed | grep fox
fox.x86_64                                1.6.33-1.el5.rf              installed
fox-devel.x86_64                          1.6.33-1.el5.rf              installed

No comments:

Post a Comment