failing package is: mysql-community-server-5.7.37-1.el7.x86_64 gpg keys are configured as: file:///etc/pki/rpm-gpg/rpm-gpg-key-mysql
时间: 2023-04-27 11:03:02 浏览: 184
这个问题是关于MySQL社区服务器的安装失败,具体的版本是mysql-community-server-5.7.37-1.el7.x86_64。同时,GPG密钥的配置是在文件/etc/pki/rpm-gpg/rpm-gpg-key-mysql中进行的。
相关问题
Public key for mysql-community-common-5.7.42-1.el7.x86_64.rpm is not installed Failing package is: mysql-community-common-5.7.42-1.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
It seems like there is an issue with the installation of the mysql-community-common package on your system. The error message suggests that the public key for the package is not installed, which is causing the installation to fail.
To resolve this issue, you can try importing the GPG key for the MySQL repository on your system using the following command:
```
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql
```
Once the key is imported, try installing the mysql-community-common package again. If the issue persists, you may need to check if the repository is configured correctly on your system.
yum安装mysql server报错 Public key for mysql-community-common-5.7.42-1.el7.x86_64.rpm is not installed Failing package is: mysql-community-common-5.7.42-1.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
这个问题可能是由于缺少 MySQL 的 GPG Key 导致的。你可以尝试以下步骤解决该问题:
1. 下载 MySQL 的 GPG Key:
```
wget https://repo.mysql.com/RPM-GPG-KEY-mysql
```
2. 安装 GPG Key:
```
sudo rpm --import RPM-GPG-KEY-mysql
```
3. 再次尝试安装 MySQL:
```
sudo yum install mysql-server
```
如果问题仍然存在,可以尝试清理缓存并重新安装:
```
sudo yum clean all
sudo yum update
sudo yum install mysql-server
```
阅读全文