web-dev-qa-db-ja.com

エラー:mysql57-community-releaseはmysql-community-release-el7-7.noarchと競合します

インストールしようとすると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

4
ScalaBoy

小切手 #rpm -qa | grep mysqlは、mysqlに関連するすべてのrpmパッケージを照会してリストします。


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

15
arjun