Mysql

如何使用 MariaDB 10.1 安裝 postfix?…或郵件伺服器…?

  • February 28, 2015

我正在使用 CentOS 7 x64。日誌:10.1 沒有 mariadb-libs,我不知道。我發現有 MariaDB-compat,它似乎提供了相同的功能,並且我已經安裝了它,但它仍然無法正常工作。

最終目標:我希望在 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
  1. 檢查兼容 RPM 提供哪些庫:
rpm -q --provides mariadb-compat # (please check the name)
  1. 如果compat確實提供了所需要的,你可以刪除 5.5. 庫:
sudo rpm -e mariadb-libs

如果這給出了不滿意引用的錯誤,請向 MariaDB 人員發送錯誤以提供適當的compatRPM。 4. 如果第 3 步成功(不使用--force等!),您可以安裝 MariaDB 10.1 的 RPM

先嘗試安裝MariaDB-shared。它應該統計所有通常由mariadb-libs.

引用自:https://unix.stackexchange.com/questions/148411