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

前端之家收集整理的这篇文章主要介绍了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应该可以解决问题.

猜你在找的Linux相关文章