错误代码如下:
警告:/var/cache/yum/x86_64/7/mysql80-community/packages/mysql-community-icu-data-files-8.0.29-1.el7.x86_64.rpm: 头V4 RSA/SHA256 Signature, 密钥 ID 3a79bd29: NOKEY
从 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022 检索密钥
获取 GPG 密钥失败:[Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"
解决方法:
在/etc/目录下复制两个key到/etc/pki/rpm-gpg/下
cp RPM-GPG-KEY-mysq RPM-GPG-KEY-mysql-2022 /etc/pki/rpm-gpg/
评论