今天早些时候,当我试图升级Fedora 26服务器时,在下载软件包后收到了以下错误消息:
warning: /var/cache/dnf/forensics-5e8452ee3a114fbe/packages/protobuf-c-1.3.0-1.fc26.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 87e360b8: NOKEY
Importing GPG key 0x87E360B8:
Userid : "CERT Forensics Operations and Investivations Team <forensics@cert.org>"
Fingerprint: 26A0 829D 5C01 FC51 C304 9037 E97F 3E0A 87E3 60B8
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-cert-forensics-2018-04-07
Is this ok [y/N]: n
Didn't install any keys
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED因此,我中止了升级,并尝试dnf clean packages和重新下载,但我仍然得到同样的错误。
看来打包的protobuf没有有效的签名,所以dnf不能继续,对吗?
发布于 2017-12-10 13:20:45
但是..。你说“不”:
Is this ok [y/N]: n...when要求安装密钥!
试着用yes (y)代替!
发布于 2018-03-10 18:33:28
使用此命令解决以下问题:dnf update --nogpgcheck
发布于 2019-11-14 16:55:16
我收到以下信息
Package code-1.40.1-1573664332.el7.x86_64.rpm is not signed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED所以code包没有签名。
让我们看看哪个回购提供了它:
dnf provides code | grep "Repo" | sort | uniq
Repo : code
Repo : @System我可以继续禁用code存储库:
sudo dnf update --refresh --verbose --disablerepo code
https://unix.stackexchange.com/questions/410049
复制相似问题