LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1436|回复: 11

求助:获取公钥失败,几个服务器都不好使

[复制链接]
发表于 2009-10-6 07:44:59 | 显示全部楼层 |阅读模式
如下所示:
换成 wwwkeys.eu.pgp.net 也不能获取公钥。
有好的解决办法么?

zhoutj@debian:~$ sudo gpg --keyserver keyring.debian.org --recv-keys 07DC563D1F41B907
gpg: requesting key 1F41B907 from hkp server keyring.debian.org
?: [fd 4]: read error: Connection reset by peer
gpgkeys: HTTP fetch error 7: couldn't connect: eof
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
发表于 2009-10-6 08:10:56 | 显示全部楼层
apt-get install debian-archive-keyring
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-6 08:21:55 | 显示全部楼层
Post by d00m3d;2033477
apt-get install debian-archive-keyring
这个已经装过了,还是不行。如下:

debian:/home/zhoutj# aptitude show debian-archive-keyring
Package: debian-archive-keyring
State: installed
Automatically installed: no
Version: 2009.01.31
Priority: important
Section: misc
Maintainer: Debian Release Team <packages@release.debian.org>
Uncompressed Size: 61.4k
Depends: gnupg
Description: GnuPG archive keys of the Debian archive
The Debian project digitally signs its Release files. This package contains the
archive keys used for that.
回复 支持 反对

使用道具 举报

发表于 2009-10-6 08:56:10 | 显示全部楼层
難道源裡未更新?

換一個源行不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-6 09:47:45 | 显示全部楼层
我一直用的 ftp.tw.debian.org 源,换成 www.anheng.com.cn 源 和 ftp.debian.org 源还是不行,更新后老提示没有公钥。
回复 支持 反对

使用道具 举报

发表于 2009-10-6 11:08:43 | 显示全部楼层
重装 debian-archive-keyring 如何?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-6 11:39:57 | 显示全部楼层
重装后信息如下:
sudo aptitude reinstall debian-archive-keyring                                                                     
Reading package lists... Done                                                   
Building dependency tree                                                         
Reading state information... Done                                                
Reading extended state information                                               
Initializing package states... Done                                             
The following packages will be REINSTALLED:                                      
  debian-archive-keyring                                                         
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.                                                                           
Need to get 0B/12.8kB of archives. After unpacking 0B will be used.              
Writing extended state information... Done                                       
(Reading database ... 89706 files and directories currently installed.)         
Preparing to replace debian-archive-keyring 2009.01.31 (using .../debian-archive-keyring_2009.01.31_all.deb) ...                                                  
Unpacking replacement debian-archive-keyring ...                                 
Setting up debian-archive-keyring (2009.01.31) ...                              
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed                                                           
gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed                                                                        
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed                                                                        
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed                                                                       
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: Total number processed: 6
gpg:              unchanged: 6
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

----------------------------------------------
没有我需要的 1F41B907 公钥。这个是验证 www.debian-multimedia.org 的公钥。接下来该怎么作?
回复 支持 反对

使用道具 举报

发表于 2009-10-6 11:51:10 | 显示全部楼层
晕死~~谜底解开了,原来妳要的不是 Debian 官方的公钥~~

www.debian-multimedia.org 现在仍是妳其中一个源吗?

打这个 debian-multimedia-keyring 装上再看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-6 11:51:21 | 显示全部楼层
已解决,aptitude install debian-multimedia-keyring 就好了。

非常感谢版主。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-6 11:54:58 | 显示全部楼层
Post by d00m3d;2033549
晕死~~谜底解开了,原来妳要的不是 Debian 官方的公钥~~

www.debian-multimedia.org 现在仍是妳其中一个源吗?

打这个 debian-multimedia-keyring 装上再看看
进一步挖掘一下,非Debian 官方的公钥 和 debian-multimedia.org 上的公钥有什么不同吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表