debian – 为lenny-backports运行apt-update时为什么会出现GPG错误?

好吧,所以我试图升级(如果你可以调用它)到lenny-backports,如 here所示,但我在运行apt-get update时遇到了这个错误
W: GPG error: http://backports.debian.org lenny-backports Release: The following signatures Couldn't be verified because the public key is not available: NO_PUBKEY A*numbers and letters*A
W: You may want to run apt-get update to correct these problems

添加到sources.list的行如下:

deb      http://backports.debian.org/debian-backports lenny-backports main

正如Womble在上一个问题中所说的那样是debian-archive-keyring的版本,无论是什么……

dpkg -l debian-archive-keyring
Desired=UnkNown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                       Version                    Description
+++-==========================-==========================-====================================================================
ii  debian-archive-keyring     2009.01.31                 GnuPG archive keys of the Debian archive

解决方法

您的debian-archive-keyring软件包版本已过期.你需要将它升级到lenny中提供的最新版本 – apt-get install debian-archive-keyring应该可以解决问题.

相关文章

/etc/sysctl.conf这个目录主要是配置一些系统信息,/etc/sys...
1.作用 useradd或adduser命令用来建立用户帐号和创建用户的起...
它们都是多模式编辑器,不同的是vim 是vi的升级版本,它不仅...
不管是我们在安装软件还是监测软件的使用性能,我们都要随时...
装好Tomcat7后,发现除了本机能访问外界访问不了,岂有此理。...
修改防火墙配置需要修改 /etc/sysconfig/iptables 这个文件,...