备注:
OS :CentOS 7.9 x64
DB : MySQL 5.7.32
一.问题描述
笔者在用rpm安装mysql时遇到了如下错误
error: Failed dependencies:
mysql-community-common(x86-64) >= 5.7.9 is needed by mysql-community-libs-5.7.36-1.el7.x86_64
mariadb-libs is obsoleted by mysql-community-libs-5.7.36-1.el7.x86_64
二.解决方案
运行如下命令
yum remove mysql-libs
清除之前安装过的依赖即可,最后重新安装下。
解决!