加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-14 02:40:30 所属栏目:Linux 来源:网络整理
导读:好吧,所以我试图升级(如果你可以调用它)到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 publ
好吧,所以我试图升级(如果你可以调用它)到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应该可以解决问题.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读