出错信息如下:
W: GPG error: http://mirrors.163.com stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://security.debian.org stable/updates Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://http.us.debian.org stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
修正方式:
root@genghis-virtual-machine:/etc/apt/sources.list.d# gpg –keyserver keyserver.ubuntu.com –recv AED4B06F473041FA
gpg: requesting key 473041FA from hkp server keyserver.ubuntu.com
gpg: /home/genghis/.gnupg/trustdb.gpg: trustdb created
gpg: key 473041FA: public key “Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>” imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
root@genghis-virtual-machine:/etc/apt/sources.list.d# gpg –export –armor AED4B06F473041FA | apt-key add -
OK
root@genghis-virtual-machine:/etc/apt/sources.list.d# apt-get update