Ubuntu 20.04 上无法通过 apt-key 添加 GPG 密钥

Ubuntu 20.04 上无法通过 apt-key 添加 GPG 密钥

我无法将 apt 存储库的 gpg 密钥添加到钥匙串中。但我可以通过 gpg --import 添加它

当我尝试使用 apt-key add 添加它时,它只是没有出现在那里,而且我没有收到明显的错误:

卷曲-sSL https://deb.********.com/pubkey.gpg | apt-key 添加 -

gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <[email protected]>" not changed
gpg: key 7C3D57159FC2F927: "InfluxData Package Signing Key <[email protected]>" not changed
gpg: key 1285491434D8786F: "Dell Inc., PGRE 2012 (PG Release Engineering Build Group 2012) <[email protected]>" not changed
gpg: key D8FF8E1F7DF8B07E: doesn't match our copy
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 8
gpg:       skipped new keys: 4
gpg:              unchanged: 3

然后我用 apt-key list 检查密钥,它仍然不存在。当我的 ansible 剧本停止工作时(因为它无法使用 apt_key 模块添加密钥),我注意到了这种行为。有什么想法吗 ?

相关内容