刚刚买了个vps,debian 64bit的系统,用系统默认的source报错误:
W: GPG error: http://mirrors.163.com lenny-proposed-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: GPG error: http://mirrors.163.com lenny/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: You may want to run apt-get update to correct these problems
网上多是使用wwwkeys.eu.pgp.net服务器取gpg,我的vps总是timeout,换了个服务器,ok了!
过程如下:
1、下载密钥
luan78zao:~# gpg --keyserver subkeys.pgp.net --recv-keys AED4B06F473041FA
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
2、导入密钥
luan78zao:~# apt-key add .gnupg/pubring.gpg
OK
3、apt更新
luan78zao:~# aptitude update
Hit http://mirrors.163.com lenny Release.gpg
Get:1 http://mirrors.163.com lenny-proposed-updates Release.gpg [835B]
Get:2 http://mirrors.163.com lenny/updates Release.gpg [835B]
Hit http://mirrors.163.com lenny Release
Hit http://mirrors.163.com lenny-proposed-updates Release
Hit http://mirrors.163.com lenny/updates Release
Ign http://mirrors.163.com lenny/main Packages/DiffIndex
Ign http://mirrors.163.com lenny/non-free Packages/DiffIndex
Ign http://mirrors.163.com lenny/contrib Packages/DiffIndex
Ign http://mirrors.163.com lenny/main Sources/DiffIndex
Ign http://mirrors.163.com lenny/non-free Sources/DiffIndex
Ign http://mirrors.163.com lenny/contrib Sources/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/main Packages/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/contrib Packages/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/non-free Packages/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/main Sources/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/contrib Sources/DiffIndex
Hit http://mirrors.163.com lenny-proposed-updates/non-free Sources/DiffIndex
Ign http://mirrors.163.com lenny/updates/main Packages/DiffIndex
Ign http://mirrors.163.com lenny/updates/contrib Packages/DiffIndex
Ign http://mirrors.163.com lenny/updates/non-free Packages/DiffIndex
Ign http://mirrors.163.com lenny/updates/main Sources/DiffIndex
Ign http://mirrors.163.com lenny/updates/contrib Sources/DiffIndex
Ign http://mirrors.163.com lenny/updates/non-free Sources/DiffIndex
Hit http://mirrors.163.com lenny/main Packages
Hit http://mirrors.163.com lenny/non-free Packages
Hit http://mirrors.163.com lenny/contrib Packages
Hit http://mirrors.163.com lenny/main Sources
Hit http://mirrors.163.com lenny/non-free Sources
Hit http://mirrors.163.com lenny/contrib Sources
Hit http://mirrors.163.com lenny/updates/main Packages
Hit http://mirrors.163.com lenny/updates/contrib Packages
Hit http://mirrors.163.com lenny/updates/non-free Packages
Hit http://mirrors.163.com lenny/updates/main Sources
Hit http://mirrors.163.com lenny/updates/contrib Sources
Hit http://mirrors.163.com lenny/updates/non-free Sources
Fetched 1670B in 5s (314B/s)
Reading package lists... Done
阅读(1460) | 评论(0) | 转发(0) |