mysql mariadb libs_mysql 安装 【解决】mariadb-libs is obsoleted by *** - Ctrl+C&Ctrl+V - ITeye博客...

【解决】mariadb-libs is obsoleted by mysql-community-libs-5.7.17-1.el6.x86_64

问题

[root@fdf◇◇ysql1 ~]# rpm -ivh mysql-community-libs-5.7.17-1.el6.x86_64.rpm

warning: mysql-community-libs-5.7.17-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

error: Failed dependencies:

mysql-community-common(x86-64) >= 5.7.9 is needed by mysql-community-libs-5.7.17-1.el6.x86_64

mariadb-libs is obsoleted by mysql-community-libs-5.7.17-1.el6.x86_64

解决方法:

[root@fdf◇◇ysql1 ~]# rpm -qa | grep postfix

postfix-2.10.1-6.el7.x86_64

[root@fdf◇◇ysql1 ~]# rpm -qa | grep mariadb

mariadb-libs-5.5.56-2.el7.x86_64

[root@fdf◇◇ysql1 ~]# rpm -ev postfix-2.10.1-6.el7.x86_64

Preparing packages...

postfix-2:2.10.1-6.el7.x86_64

[root@fdf◇◇ysql1 ~]# rpm -ev mariadb-libs-5.5.56-2.el7.x86_64

Preparing packages...

mariadb-libs-1:5.5.56-2.el7.x86_64

结果:

[root@fdf◇◇ysql1 ~]#

[root@fdf◇◇ysql1 ~]# rpm -ivh mysql-community-common-5.7.17-1.el6.x86_64.rpm

warning: mysql-community-common-5.7.17-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

Preparing... #############

你可能感兴趣的:(mysql,mariadb,libs)