作者:百变睛灵_345 | 来源:互联网 | 2022-12-20 15:27
如何解决《错误:mysql57-community-release与mysql-community-release-el7-7.noarch冲突》经验,为你挑选了1个好方法。
当我尝试安装时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> 小智..:
检查#rpm -qa | grep mysql
查询列出与mysql相关的所有rpm包并删除mysql57-community-release问题# rpm -e --nodeps mysql57-community-release
@arjun只是一个小错字或你的答案不匹配.`--no-deps`选项不存在.正确的是`--nodeps`你的解决方案帮助了我.谢谢!