[root@localhost MysqL5.6.34]# rpm -ivh MysqL-server-5.6.34-1.el7.x86_64.rpm
warning: MysqL-server-5.6.34-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature,key ID 5072e1f5: NOKEY
Preparing... ################################# [100%]
file /usr/share/MysqL/charsets/README from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/czech/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/danish/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/dutch/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/english/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/estonian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/french/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/german/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/greek/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/hungarian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/italian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/japanese/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/korean/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/norwegian-ny/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/norwegian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/polish/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/portuguese/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/romanian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/russian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/serbian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/slovak/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/spanish/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/swedish/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/ukrainian/errmsg.sys from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/Index.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/armscii8.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/ascii.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp1250.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp1251.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp1256.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp1257.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp850.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp852.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/cp866.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/dec8.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/geostd8.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/greek.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/hebrew.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/hp8.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/keybcs2.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/koi8r.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/koi8u.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/latin1.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/latin2.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/latin5.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/latin7.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/macce.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/macroman.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
file /usr/share/MysqL/charsets/swe7.xml from install of MysqL-server-5.6.34-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64
安装的MysqL lib库和mariadb的库包冲突了,检查下mariadb的组件
[root@localhost MysqL5.6.34]# rpm -qa |grep mariadb
mariadb-libs-5.5.44-2.el7.centos.x86_64
果然有,赶紧干了
[root@localhost MysqL5.6.34]# rpm -e mariadb-libs-5.5.44-2.el7.centos.x86_64
error: Failed dependencies:
libMysqLclient.so.18()(64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64
libMysqLclient.so.18(libMysqLclient_18)(64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64
[root@localhost MysqL5.6.34]# rpm -e mariadb-libs-5.5.44-2.el7.centos.x86_64 --nodeps
Updating / installing...
1:MysqL-server-5.6.34-1.el7 ^C^C^C^C################################# [100%]
万事大吉了
原文链接:https://www.f2er.com/centos/380060.html