debian apt-get GPG error
今天更新debian lenny系统出现下面错误:
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 9AA38DCD55BE302B
W: GPG error: stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
1、gpg --keyserver subkeys.pgp.net --recv-keys KEY_ID
2、gpg -a --export KEY_ID |apt-key add -
阅读(1816) | 评论(0) | 转发(0) |