warning: mysql80-community-release-el7-7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY Verifying... ################################# [100%] Preparing... ################################# [100%] package mysql80-community-release-el8-1.noarch (which is newer than mysql80-community-release-el7-7.noarch) is already installed file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql from install of mysql80-community-release-el7-7.noarch conflicts with file from package mysql80-community-release-el8-1.noarch file /etc/yum.repos.d/mysql-community-source.repo from install of mysql80-community-release-el7-7.noarch conflicts with file from package mysql80-community-release-el8-1.noarch file /etc/yum.repos.d/mysql-community.repo from install of mysql80-community-release-el7-7.noarch conflicts with file from package mysql80-community-release-el8-1.noarch
时间: 2023-07-16 19:15:47 浏览: 140
这个错误提示是因为你的系统中已经安装了mysql80-community-release-el8-1.noarch的版本,而你现在又试图安装mysql80-community-release-el7-7.noarch的旧版本。这两个版本之间存在冲突,所以你需要先卸载mysql80-community-release-el8-1.noarch版本,然后再安装mysql80-community-release-el7-7.noarch版本。你可以使用以下命令卸载mysql80-community-release-el8-1.noarch版本:
```
sudo yum remove mysql80-community-release-el8-1.noarch
```
然后再尝试安装mysql80-community-release-el7-7.noarch版本。
相关问题
warning: mysql80-community-release-el7-6.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY error: Failed dependencies: mysql-community-release conflicts with mysql80-community-release-el7-6.noarch
如果在安装MySQL存储库配置包时遇到冲突错误,可能是由于已经安装了与新存储库配置包冲突的旧版本存储库配置包。你可以尝试使用下面的步骤来解决这个问题:
1. 首先,使用以下命令查找并删除旧版本的MySQL存储库配置包:
```
sudo rpm -qa | grep mysql
sudo rpm -e <旧版本存储库配置包名称>
```
请将`<旧版本存储库配置包名称>`替换为你找到的旧版本存储库配置包的实际名称。
2. 一旦删除了旧版本存储库配置包,再次尝试安装新的MySQL存储库配置包:
```
sudo rpm -ivh mysql80-community-release-el7-1.noarch.rpm
```
请确保替换上述命令中的`mysql80-community-release-el7-1.noarch.rpm`为你下载的新版本存储库配置包的实际名称。
3. 安装完成后,运行以下命令来更新yum缓存:
```
sudo yum update
```
以上步骤应该能够解决冲突错误并成功安装MySQL的存储库配置包。如果问题仍然存在,请提供更多详细信息,以便我能够更好地帮助你解决问题。
阅读全文