sudo apt update
ubuntu20.04执行时遇到报错:
W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' is not signed.
解决方案
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
在执行sudoaptupdate时遇到GPG错误,涉及到安全更新仓库的签名验证失败。问题的关键在于缺少公钥40976EAF437D05B5和3B4FE6ACC0B21F32。解决方法是使用sudoapt-keyadv命令从keyserver.ubuntu.com获取并添加这两个缺失的公钥。
1262

被折叠的 条评论
为什么被折叠?



