ubuntu apt-get update : W: An error occurred during the signature verification.
W: An error occurred during thesignature verification. The repository is not updated and the previous indexfiles will be used. GPG error: http://extras.ubuntu.com trusty Release: Thefollowing signatures couldn't be verified because the public key is notavailable: NO_PUBKEY 16126D3A3E5C1192
sudo apt-get update
即使执行:
sudo apt-get clean
sudo apt-get update
还是会有相同的错误。
有了解决方案:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
继续执行:
sudo apt-get update
。。。。
Readingpackage lists... Done
W: GPG error:http://extras.ubuntu.com trusty Release: The following signatures couldn't beverified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
$ sudoapt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
Executing:gpg --ignore-time-conflict --no-options --no-default-keyring --homedir/tmp/tmp.vFCmcTBtR8 --no-auto-check-trustdb --trust-model always --keyring/etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserverkeyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg:requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
gpg: key3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>"imported
gpg: Totalnumber processed: 1
gpg: imported: 1
sudo apt-get update
OK