Linux使用Atomicorp的YUM源时提示key ID 4520afa9: NOKEY

如题,在使用Atomicorp的YUM源的时候,有时候会出现下面的提示:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY

或类似下面的提示:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt

The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

总之就是NOKEY。

解决方法如下:

打开Atomic的YUM配置文件

#vim /etc/yum.repos.d/atomic.repo

找到里面的getkey共有两个将文件改为:

https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt

即:

getkey=https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt

重新执行yum的安装问题解决!!

你可能感兴趣的:(系统应用,linux)