warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
获取 GPG 密钥失败:[Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
======================================================================
网上搜索尝试了很多办法,更新密匙,修改文件,都没有效果,实际能用是是下面的方法。
解决方案是:
1 |
rpm --import /etc/pki/rpm-gpg/RPM* |
原创文章,作者:蓝洛水深,如若转载,请注明出处:https://blog.lanluo.cn/7906