在对一台Debian服务器执行更新时,发生如下错误:
QUOTE:
Hit
http://ftp.debian.org wheezy/main Translation-en
Hit
http://ftp.debian.org wheezy/non-free Translation-en
Reading package lists... Done
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010
一种方法如下:
QUOTE:
# gpg --recv-keys 4D270D06F42584E6
# gpg --export 4D270D06F42584E6 | apt-key add -
另一种方法似乎更为简单:
QUOTE:
# apt-get install debian-keyring debian-archive-keyring
# apt-key update
尝试了第二种方法,成功解决了public key的问题。