解决mysql-community-server安装时的GPG密钥问题
P粉317679342
P粉317679342 2023-08-22 23:03:45
0
1
469
<p>安装<strong>mysql-community-server</strong>时出现以下错误:</p> <p><strong>命令:</strong></p> <pre class="brush:php;toolbar:false;">sudo yum install mysql-community-server</pre> <p><strong>错误:</strong></p> <pre class="brush:php;toolbar:false;">warning: /var/cache/yum/x86_64/2/mysql57-community/packages/mysql-community-libs-compat-5.7.37-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql "MySQL 5.7 Community Server"仓库的GPG密钥已经安装,但对于此软件包来说不正确。 请检查是否为此仓库配置了正确的密钥URL。 失败的软件包是:mysql-community-libs-compat-5.7.37-1.el7.x86_64 GPG密钥配置为:file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql</pre> <p>有人能帮忙吗...</p>
P粉317679342
P粉317679342

全部回复(1)
P粉211600174

来源:https://dev.mysql.com/doc/refman/8.0/en/checking-rpm-signature.html

没有单独的签名。RPM软件包具有内置的GPG签名和MD5校验和。

rpm还支持直接从URL加载密钥:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!