error: Failed dependencies:mysql-community-common(x86-64) >= 5.7.9 is needed by (installed)

  1. 查询系统是否安装了MySQL

rpm -qa|grep mysql

error: Failed dependencies:mysql-community-common(x86-64) >= 5.7.9 is needed by (installed)_第1张图片
  1. 使用rpm -e 命令将上个命令中包列表一一进行卸载

rpm -e mysql-community-common-5.7.34-1.el7.x86_64

此时报错:

  1. 解决方法 加个 --nodeps

rpm -e --nodeps mysql-community-libs-5.7.34-1.el7.x86_64

你可能感兴趣的:(mysql,mysql,java,linux)