“无法验证以下签名,因为公钥不可用:NO_PUBKEY 16126D3A3E5C1192”

Isa*_*iah 11 apt gnupg

$ sudo apt-get update
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release  
W: Some index files failed to download, they have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)

如何删除这些警告?apt-get update从我全新的 10.10 安装开始,运行就给了我这些警告。

Jon*_*hon 13

选项1

这里

sudo apt-get install --reinstall ubuntu-extras-keyring
Run Code Online (Sandbox Code Playgroud)

选项 2

这里

概括:

打开终端并运行以下命令:

gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
gpg --export --armor 3E5C1192 | sudo apt-key add -
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)