狀況
# yum update php
Transaction Check Error:
file /etc/my.cnf from install of mysql-5.1.58-jason.1.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
file /usr/bin/mysql_find_rows from install of mysql-5.1.58-jason.1.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
file /usr/bin/mysqlaccess from install of mysql-5.1.58-jason.1.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
~略...
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-5.1.58-jason.1.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
解決方法
1. 因為所有的錯誤訊息看起來都跟 mysql-5.0.95-5.el5_9.i386 有關,
加上在網路上查到的解法,也是把有問題的套件先移除
所以先移除 mysql-5.0.95-5.el5_9.i386
# yum remove mysql
2. 再重新更新就可以了
# yum update php
註
網路上的解釋是說,因為系統是 64 位元
但是不知道為什麼原本安裝的套件居然是 i368(32位元) 的版本,所以無法直接更新
- Feb 05 Tue 2013 17:24
[linux] yum update 出現 Transaction Check Error 錯誤
全站熱搜
留言列表