使用debian的源时,出现以下错误,如何解决

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
ioiioi
帖子: 7
注册时间: 2005-10-23 11:00

使用debian的源时,出现以下错误,如何解决

#1

帖子 ioiioi » 2005-10-25 20:57

chex@ubuntu:~$ sudo apt-get update
忽略 http://people.debian.org.tw ./ Release.gpg
忽略 http://people.debian.org.tw ./ Release
忽略 http://people.debian.org.tw ./ Packages
忽略 http://people.debian.org.tw ./ Sources
获取:1 http://people.debian.org.tw ./ Packages [3417B]
获取:2 http://people.debian.org.tw ./ Sources [956B]
获取:3 http://ftp.us.debian.org sarge Release.gpg [197B]
获取:4 http://ftp.us.debian.org sarge Release [22.8kB]
忽略 http://ftp.us.debian.org sarge Release
忽略 http://ftp.us.debian.org sarge/main Packages
忽略 http://ftp.us.debian.org sarge/contrib Packages
忽略 http://ftp.us.debian.org sarge/non-free Packages
忽略 http://ftp.us.debian.org sarge/main Sources
忽略 http://ftp.us.debian.org sarge/contrib Sources
忽略 http://ftp.us.debian.org sarge/non-free Sources
获取:5 http://ftp.us.debian.org sarge/main Packages [3347kB]
获取:6 http://ftp.us.debian.org sarge/contrib Packages [56.2kB]
获取:7 http://ftp.us.debian.org sarge/non-free Packages [58.4kB]
获取:8 http://ftp.us.debian.org sarge/main Sources [1321kB]
获取:9 http://ftp.us.debian.org sarge/contrib Sources [24.8kB]
获取:10 http://ftp.us.debian.org sarge/non-free Sources [23.5kB]
下载 4858kB,耗时 9m57s (8132B/s)
正在读取软件包列表... 完成
W: GPG error: http://ftp.us.debian.org sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D
W: 您可能需要运行 apt-get update 来解决这些问题

GPG error,那么这个pulic key是放在哪里的呢?以什么样的形式存在?
ioiioi
帖子: 7
注册时间: 2005-10-23 11:00

#2

帖子 ioiioi » 2005-10-27 9:38

这是在linuxsir得到的结果:
当我apt-get update 时出现public key is not available,请问是什么原因,如何解决?

--------------------------------------------------------------------------------

question:

W: GPG error: http://ftp.us.debian.org sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D

answer:
找到那个GPG验证的包装上就没事了,那个GPG验证的包,有点类似于WHQL的认证

找到办法了,以上面为例
首先获得key
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys F1D53D8C4F368D5D
然后
gpg --armor --export A35A4E6EF00175CA | sudo apt-key add -
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2005-10-27 9:43

● 鸣学
回复