您好,登錄后才能下訂單哦!
這篇文章主要介紹“怎么解決linux安裝mysql提示conflicts with file from package的問題”,在日常操作中,相信很多人在怎么解決linux安裝mysql提示conflicts with file from package的問題問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”怎么解決linux安裝mysql提示conflicts with file from package的問題”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
linux安裝提示conflicts with file from package的解決辦法
在linux下面安裝 mysql的時候出現了錯誤:
[root@localhost local]# rpm -ivh MySQL-server-5.5.24-1.el6.i686.rpm
Shell代碼 www.2cto.com
Preparing... ########################################### [100%]
file /usr/share/mysql/charsets/cp1251.xml from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/czech/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/danish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/dutch/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/english/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/estonian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/french/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/german/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/greek/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/hungarian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/italian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686 www.2cto.com
file /usr/share/mysql/japanese/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/korean/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/norwegian-ny/errmsg.sys from install
of MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/norwegian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/polish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/portuguese/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/romanian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/russian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/serbian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/slovak/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/spanish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/swedish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
file /usr/share/mysql/ukrainian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686
原因由包沖突引起的! www.2cto.com
解決思路,先移除沖突的libs包,在進行安裝
yum -y remove mysql-libs-5.1.52* -y的意思就是不用詢問是否remove
卸載完成之后,再安裝MySQL成功了
rpm -ivh MySQL-server-5.5.24-1.el6.i686.rpm
到此,關于“怎么解決linux安裝mysql提示conflicts with file from package的問題”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。