今天在更新我的debian的时候,系统提示

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.us.debian.org squeeze-updates Release: The following signatures couldn\’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

 

直接重新安装key包就可以了

apt-get install debian-archive-keyring

 

root@MyDebianCloud:~# apt-get install debian-keyring debian-archive-keyring
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
debian-keyring
The following packages will be upgraded:
debian-archive-keyring
1 upgraded, 1 newly installed, 0 to remove and 86 not upgraded.
Need to get 31.1 MB of archives.
After this operation, 35.8 MB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ squeeze/main debian-archive-keyring all 2010.08.28+squeeze1 [26.2 kB]
Get:2 http://ftp.us.debian.org/debian/ squeeze/main debian-keyring all 2010.12.29 [31.1 MB]
Fetched 31.1 MB in 22s (1,401 kB/s)
Reading changelogs… Done
(Reading database … 22324 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2010.08.28 (using …/debian-archive-keyring_2010.08.28+squeeze1_all.deb) …
Unpacking replacement debian-archive-keyring …
Setting up debian-archive-keyring (2010.08.28+squeeze1) …
gpg: key F42584E6: “Lenny Stable Release Key <debian-release@lists.debian.org>” not changed
gpg: key 55BE302B: “Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>” not changed
gpg: key 6D849617: “Debian-Volatile Archive Automatic Signing Key (5.0/lenny)” not changed
gpg: key B98321F9: “Squeeze Stable Release Key <debian-release@lists.debian.org>” not changed
gpg: key 473041FA: “Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>” not changed
gpg: key 46925553: public key “Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>” imported
gpg: key 65FFB764: public key “Wheezy Stable Release Key <debian-release@lists.debian.org>” imported
gpg: Total number processed: 7
gpg: imported: 2 (RSA: 2)
gpg: unchanged: 5
gpg: no ultimately trusted keys found
Selecting previously deselected package debian-keyring.
(Reading database … 22324 files and directories currently installed.)
Unpacking debian-keyring (from …/debian-keyring_2010.12.29_all.deb) …
Setting up debian-keyring (2010.12.29) …
root@MyDebianCloud:~# apt-get update
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Get:1 http://ftp.us.debian.org squeeze-updates Release.gpg [836 B]
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
Hit http://ftp.us.debian.org squeeze Release
Get:2 http://ftp.us.debian.org squeeze-updates Release [113 kB]
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://ftp.us.debian.org squeeze/main amd64 Packages
Get:3 http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex [4,093 B]
Get:4 http://ftp.us.debian.org squeeze-updates/main amd64 Packages/DiffIndex [4,093 B]
Get:5 http://ftp.us.debian.org squeeze-updates/main Sources [2,731 B]
Get:6 http://ftp.us.debian.org squeeze-updates/main amd64 Packages [5,227 B]
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Fetched 17.0 kB in 31s (537 B/s)
Reading package lists… Done

 

如果还是不行,就先删除在安装,删除命令:dpkg –purge debian-archive-keyring