分页: 1 / 1

求助:更新时的签名(错误)问题。

发表于 : 2009-04-01 8:22
nrywlm
正在读取软件包列表... 完成
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com hardy-updates Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... es/Release

W: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。
W: 您可能需要运行 apt-get update 来解决这些问题

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-04-01 10:29
rock177486
如果长时间都是这样子的话。试试这个办法
把 /etc/apt/source.list 备份一下,然后把内容清空,执行 sudo apt-get update,然后恢复 source.list 内容,再更新也许就好了。

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-04-01 15:43
nrywlm
rock177486 写了:如果长时间都是这样子的话。试试这个办法
把 /etc/apt/source.list 备份一下,然后把内容清空,执行 sudo apt-get update,然后恢复 source.list 内容,再更新也许就好了。
首先感谢
其次:
1、按上面的说法,操作了,还是不行,为什么。
源的内容 如下:

_____________________________________________________
#Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
#推荐所有用户加入 ubuntu-cn 源
deb http://archive.ubuntu.org.cn/ubuntu-cn/ hardy main restricted universe multiverse

#virtualbox
deb http://download.virtualbox.org/virtualbox/debian hardy non-free
#ppa
deb http://ppa.launchpad.net/compiz/ubuntu hardy main #compiz-fusion
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main #ubuntu-tweak
_________________________________________________________

错误如下:
下载 1540kB,耗时 12s (124kB/s)
W: GPG签名验证错误: http://archive.ubuntu.com hardy-proposed Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... ackages.gz 子进程 gzip 返回了一个错误号 (1)

E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。


2、” /etc/apt/source.list 备份一下“ 此处为 /etc/apt/sources.list

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-04-27 14:59
nrywlm
代码:
>gpg --keyserver wwwkeys.eu.pgp.net --recv GPGcode
>gpg --export --armor GPGcode | sudo apt-key add -


其中GPGcode就是你出错的那个


今在搜索论坛,找到的答案,解决了。

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-10-26 11:19
lsdreamer
如果你是是用了ubuntu tweak的话,在手选项里面看看那个 使用PPA镜像(如果可用) 是不是开启了,如果开启了关掉。我也是开了这个后开始报错,关掉就好了。

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-10-26 17:32
mm25880
:em11 :em11

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-11-08 17:42
wenstream
:em11

Re: 求助:更新时的签名(错误)问题。

发表于 : 2009-11-20 16:40
hawkstar66