当我sudo apt-get update
收到如下所示的错误时。
W: An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease:
The following signatures couldn't be verified
because the public key is not available: NO_PUBKEY 76F1A20FF987672F
W: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/InRelease
The following signatures couldn't be verified
because the public key is not available: NO_PUBKEY 76F1A20FF987672F
W: Some index files failed to download. They have been ignored, or old ones used instead.
因此,我继续按照Ask Ubuntu答案的建议更换镜子。然后,我重新启动计算机。而且我仍然在上面遇到相同的错误sudo apt-get update
。
让我们尝试重新安装密钥。
$ wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
File ‘Release.key’ already there; not retrieving. OK
我也可能会这样ping -c3 archive.ubuntu.com
,我的数据包丢失率为0%。我还需要做什么?
2
看来新的葡萄酒更新使用与他们托管的Release.key不同的密钥签名了
—
user3074620 '18
请为命令输出使用代码格式(就像命令一样),而不是引号格式。
—
muru