Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: mysql57-community-release conflicts with mysql-community-release-el7-7.noarch

When I try to install mysql-community-release, I get the following error:

# 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

This is the list of installed libraries:

# 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

How can I safely remove mysql57-community-release?

like image 535
ScalaBoy Avatar asked Apr 16 '18 11:04

ScalaBoy


1 Answers

Check #rpm -qa | grep mysql to query list all rpm packages related to mysql


To remove mysql57-community-release issue:

# rpm -e --nodeps mysql57-community-release

Note: --no-deps no longer works, need to be --nodeps

like image 129
arjun Avatar answered Nov 15 '22 08:11

arjun