
CentOS 7 x64を使用しています。ログ:私が知っている限り、10.1バージョンにはmariadb-libsはありません。 MariaDB互換機能が同じ機能を提供していることが確認されてインストールされましたが、まだ機能しません。
最終目標:できるだけ少ないリソースでCentos 7 x64 LEMP + MariaDB 10.1にメールサーバーをインストールしたいと思います。
サフィックス x86_64 2:2.10.1-6.el7 基本
2.4 M
Installing for dependencies:
mariadb-libs x86_64 1:5.5.37-1.el7_0 updates 752 k
Transaction Summary
===================================================================================================================
Install 1 Package (+1 Dependent package)
Total size: 3.2 M
Installed size: 17 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /etc/my.cnf from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-common-10.1.0-1.el6.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mariadb-libs-1:5.5.37-1.el7_0.x86_64 conflicts with file from package MariaDB-server-10.1.0-1.el6.x86_64
答え1
postfixに必要なライブラリを確認してください。
rpm -q --requires postfix
compat RPMが提供するライブラリを確認してください。
rpm -q --provides mariadb-compat # (please check the name)
compat
必要な機能を提供している場合は、5.5を削除できます。図書館:sudo rpm -e mariadb-libs
不十分な参照エラーが発生した場合は、MariaDB担当者に適切な
compat
RPMを提供するよう依頼してください。ステップ3が成功した場合(使用する必要はありません
--force
!)、MariaDB 10.1のRPMをインストールできます。
答え2
まずインストールしてみてくださいMariaDB-shared
。一般的に満足してくださいmariadb-libs
。