【问题标题】:Error: mysql57-community-release conflicts with mysql-community-release-el7-7.noarch错误:mysql57-community-release 与 mysql-community-release-el7-7.noarch 冲突
【发布时间】:2018-09-26 02:19:46
【问题描述】:

当我尝试安装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

【问题讨论】:

    标签: mysql centos centos7


    【解决方案1】:

    查看#rpm -qa | grep mysql查询列出所有mysql相关的rpm包


    要删除 mysql57-community-release 问题:

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

    注意:--no-deps 不再起作用,需要是--nodeps

    【讨论】:

    • 基本上我需要安装mysql-community-release。出于某种原因,当我运行 yum install mysql-community-release 时,我收到以下消息:“加载的插件:fastestmirror 从缓存的主机文件加载镜像速度 * 基础:mirror.uv.es * 附加:mirror.uv.es * 更新:mirror.uv.es 没有包mysql-community-release 可用。错误:无事可做”。如何添加仓库?
    • @ScalaBoy mysql-community yum repos 可以找到here
    • 这里是关于如何管理 repos 的详细信息,可能对你有用。 dev.mysql.com/doc/refman/5.6/en/…
    • @arjun您的答案只是一个小错字或不匹配。 --no-deps 选项不存在。正确的是--nodeps您的解决方案帮助了我。谢谢!
    猜你喜欢
    • 1970-01-01
    • 2022-08-08
    • 2011-07-19
    • 1970-01-01
    • 2013-02-12
    • 1970-01-01
    • 2017-08-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多