我正在尝试在我的服务器中安装postfix
Centos7 MySQL 5.7
不幸的是,它们似乎是不相容的。 为什么?
这里是错误信息。 有没有解决的办法 ?
[root@doc ~]# yum --enablerepo=remi install postfix Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.sonn.com * epel: mirror.nus.edu.sg * extras: centos.sonn.com * remi: mirrors.thzhost.com * updates: centos.sonn.com Resolving Dependencies --> Running transaction check ---> Package postfix.x86_64 2:2.10.1-6.el7 will be installed --> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64 --> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64 --> Running transaction check ---> Package MariaDB-shared.x86_64 0:10.0.17-1.el7.centos will be installed --> Processing Dependency: MariaDB-common for package: MariaDB-shared-10.0.17-1.el7.centos.x86_64 --> Running transaction check ---> Package MariaDB-common.x86_64 0:10.0.17-1.el7.centos will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================================================================== Installing: postfix x86_64 2:2.10.1-6.el7 base 2.4 M Installing for dependencies: MariaDB-common x86_64 10.0.17-1.el7.centos mariadb 23 k MariaDB-shared x86_64 10.0.17-1.el7.centos mariadb 1.2 M Transaction Summary ===================================================================================================================================================================================================== Install 1 Package (+2 Dependent packages) Total size: 3.7 M Installed size: 13 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/armscii8.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/ascii.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp1250.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp1256.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp1257.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp850.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp852.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/cp866.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/dec8.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/geostd8.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/greek.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/hebrew.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/hp8.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/keybcs2.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/koi8r.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/koi8u.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/latin1.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/latin2.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/latin5.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/latin7.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/macce.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/macroman.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /usr/share/mysql/charsets/swe7.xml from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-common-5.7.6-0.3.m16.el6.x86_64 file /etc/my.cnf from install of MariaDB-common-10.0.17-1.el7.centos.x86_64 conflicts with file from package mysql-community-server-5.7.6-0.3.m16.el6.x86_64 Error Summary -------------
您已经为系统configuration了MySQL 5.7和MariaDB 10.0的存储库。 这是不行的; 这些软件包不能在同一个系统上并排运行。 您将需要select一个或另一个。
显然,既然CentOS已经期望使用MariaDB,并且出于各种其他原因,您应该selectMariaDB而不是MySQL。