yum 安装失败,出现密钥错误

yum 安装失败,出现密钥错误

此次安装失败:

 yum install osad
...
warning:
/var/cache/yum/x86_64/7/spacewalk-client/packages/osad- 5.11.57-1.el7.noarch.rpm: 
Header V4 RSA/SHA1 Signature, key ID 066e5810: NOKEY

Public key for osad-5.11.57-1.el7.noarch.rpm is not installed

然而,太空行走 repo 的关键是安装。

[root@swtest rpm-gpg]# rpm -q --info gpg-pubkey-b8002de1-553126bd
Name        : gpg-pubkey
Version     : b8002de1
Release     : 553126bd
Architecture: (none)
Install Date: Mon 09 Nov 2015 10:31:03 AM EST
Group       : Public Keys
Size        : 0
License     : pubkey
Signature   : (none)
Source RPM  : (none)
Build Date  : Fri 17 Apr 2015 11:29:01 AM EDT
Build Host  : localhost
Relocations : (not relocatable)
Packager    : Spacewalk <[email protected]>

是什么导致了错误?除了--nogpgcheck 之外,我还能如何修复它?

更新:客户端 Centos 7. 使用 spacewalk 2.3 之前没有任何问题。

相关内容