2014-03-12 134 views
3

,當我在CentOS 6.5通過「百勝安裝MariaDB的服務器MariaDB的客戶」則表示服務器中安裝MariaDB的「交易檢查錯誤:在CentOS安裝MariaDB的6.5 X86_64

file /usr/share/mysql/czech/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/danish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/dutch/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/english/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/estonian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/french/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/german/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/greek/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/hungarian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/italian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/japanese/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/korean/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/norwegian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/polish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/portuguese/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/romanian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/russian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/serbian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/slovak/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/spanish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/swedish/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /usr/share/mysql/ukrainian/errmsg.sys from install of MariaDB-server-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64 file /etc/my.cnf from install of MariaDB-common-10.0.9-1.el6.i686 conflicts with file from package mysql-libs-5.5.36-1.el6.remi.x86_64

Error Summary -------------

」請建議我也一樣。

回答

3

你安裝MariaDB軟件包的順序是什麼?

您是否先刪除mysql-libs?

轉-e --nodeps的mysql-庫

然後嘗試

百勝安裝MariaDB的客戶端MariaDB的常見MariaDB的-COMPAT MariaDB的-devel的MariaDB的服務器MariaDB的共享

你也可以通過運行安裝:

rpm -ivh MariaDB-* 
0

[1]首先,你必須刪除的mysql:

service mysql stop 
    yum remove mysql 

確保刪除目錄/ var/lib/mysql,除非您的MySQL版本與您的MariaDB版本兼容。 (我可能仍然會刪除它。)

[2]一旦mysql消失,您需要將相應的存儲庫添加到yum。 MariaDB的在這裏提供存儲庫的配置:

https://downloads.mariadb.org/mariadb/repositories/ 

它會給你你需要把一個文件的擴展下的.repo /etc/yum.repos.d/

代碼[3]查找出在這裏,你需要爲你的版本MariaDB的的哪個具體包:

https://mariadb.com/kb/en/about-the-mariadb-rpm-files/ 

您需要MariaDB的-compat的MySQL的兼容性(包括MariaDB的10.x的支持InnoDB)

[ 4]開始安裝:

yum install MariaDB-server MariaDB-client MariaDB-compat MariaDB-shared 

[5]安裝後應該做的第一件事是保護對它的訪問。運行:

mysql_secure_installation 

完成。

0

我有同樣的問題。

也許你可以找到一個衝突的文件,並嘗試redependcy,這樣.....

rpm -qf /usr/share/mysql/english/errmsg.sys 

我得到這個包。 mariadb-libs-5.5.35-3.el7.x86_64 刪除這個包後,也許你可以安裝MariaDB。

yum remove mariadb-libs-5.5.35-3.el7.x86_64 
12

有同樣的問題,對我來說這是什麼工作:

運行rpm -qa | grep -i mysql 這給了我一些軟件包仍然安裝,如:

MySQL-devel-advanced-5.5.27-1.el6.x86_64 
MySQL-shared-advanced-5.5.27-1.el6.x86_64 
mysql-connector-odbc-5.3.4-1.x86_64 
MySQL-client-advanced-5.5.27-1.el6.x86_64 

所以

yum remove MySQL-devel-advanced-5.5.27-1.el6.x86_64 
yum remove ... 

...你得到了點