错误:mysql57-community-release与mysql-community-release-el7-7.noarch冲突

时间:2018-04-16 11:00:52

标签: mysql centos centos7

当我尝试安装mysql-community-release时,出现以下错误:

# yum install mysql-community-release

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.uv.es
 * extras: mirror.uv.es
 * updates: mirror.uv.es
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-release.noarch 0:el7-7 will be installed
--> Processing Conflict: mysql57-community-release-el7-11.noarch conflicts mysql-community-release
--> Finished Dependency Resolution
Error: mysql57-community-release conflicts with mysql-community-release-el7-7.noarch

这是已安装库的列表:

# yum list installed mysql\*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.uv.es
 * extras: mirror.uv.es
 * updates: mirror.uv.es
Installed Packages
mysql-community-client.x86_64                         5.7.21-1.el7                 @mysql57-community
mysql-community-common.x86_64                         5.7.21-1.el7                 @mysql57-community
mysql-community-devel.x86_64                          5.7.21-1.el7                 @mysql57-community
mysql-community-embedded.x86_64                       5.7.21-1.el7                 @mysql57-community
mysql-community-embedded-compat.x86_64                5.7.21-1.el7                 @mysql57-community
mysql-community-embedded-devel.x86_64                 5.7.21-1.el7                 @mysql57-community
mysql-community-libs.x86_64                           5.7.21-1.el7                 @mysql57-community
mysql-community-libs-compat.x86_64                    5.7.21-1.el7                 @mysql57-community
mysql-community-server.x86_64                         5.7.21-1.el7                 @mysql57-community
mysql-community-test.x86_64                           5.7.21-1.el7                 @mysql57-community
mysql57-community-release.noarch                      el7-11                       installed

如何安全删除mysql57-community-release

1 个答案:

答案 0 :(得分:8)

检查#rpm -qa | grep mysql查询列出与mysql相关的所有rpm包并删除mysql57-community-release issue # rpm -e --no-deps mysql57-community-release