deepin添加kali软件源出现gpg公匙错误
Tofloor
poster avatar
metanoia1989
deepin
2017-07-28 04:31
Author
添加的是清华的kali源: deb-src https://mirrors.tuna.tsinghua.edu.cn/kali/ kali-rolling main non-free contrib

sudo apt-get update出现gpg公匙错误
W: GPG 错误:https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY ED444FF07D8D0BF6
W: 仓库 “https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease” 没有数字签名。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

找到坛子里的解决方法: gpg: keyserver receive failed: 拒绝连接
请问要怎么解决,大家有添加过其他debin系列的软件源吗?



Reply Favorite View the author
All Replies
1 / 2
To page
metanoia1989
deepin
2017-07-28 04:32
#1
小白好多不懂
Reply View the author
metanoia1989
deepin
2017-07-28 04:41
#2
换个keyserver也不行 gpg: keyserver receive failed: 拒绝连接

两个keyserver都是ping的通的 64 bytes from 104.31.95.41: icmp_seq=2 ttl=47 time=352 ms
64 bytes from 104.31.95.41: icmp_seq=3 ttl=47 time=361 ms
64 bytes from 104.31.95.41: icmp_seq=4 ttl=47 time=348 ms

--- www.gpg-keyserver.de ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 4464ms
rtt min/avg/max/mdev = 348.709/354.263/361.689/5.461 ms
64 bytes from boquila.canonical.com (91.189.89.49): icmp_seq=1 ttl=51 time=342 ms
64 bytes from boquila.canonical.com (91.189.89.49): icmp_seq=3 ttl=51 time=333 ms
64 bytes from boquila.canonical.com (91.189.89.49): icmp_seq=4 ttl=51 time=351 ms

--- keyserver.ubuntu.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3024ms
rtt min/avg/max/mdev = 333.613/342.435/351.235/7.225 ms
Reply View the author
134******40
deepin
2017-07-28 04:59
#3
apt-key adv --keyserver https://bbs.deepin.org/module --recv ED444FF07D8D0BF6 前面加上sudo
应该是:
  1. sudo apt-key adv --keyserver www.gpg-keyserver.de --recv ED444FF07D8D0BF6 前面加上sudo
Copy the Code

你那明显是没有权限造成的。
Reply View the author
metanoia1989
deepin
2017-07-28 05:05
#4
一样的拒绝连接,我用root用户执行也是这样。
gpg: keyserver receive failed: 拒绝连接
Reply View the author
134******40
deepin
2017-07-28 05:08
#5
安装kali软件源,小心别被自己deepin系统搞死了。
Reply View the author
134******40
deepin
2017-07-28 05:09
#6
  1. sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
Copy the Code

这个呢
Reply View the author
metanoia1989
deepin
2017-07-28 05:12
#7
还是拒绝连接。我连源都添加不了,离搞死还远着啦。
gpg: keyserver receive failed: 拒绝连接
Reply View the author
VI~TONISEN
deepin
2017-07-28 05:22
#8
可以哒
Reply View the author
VI~TONISEN
deepin
2017-07-28 05:26
#9
800多个包,不会升残吧,试试看了
Reply View the author
metanoia1989
deepin
2017-07-28 05:27
#10

为什么我的不行
Reply View the author
VI~TONISEN
deepin
2017-07-28 05:31
#11
也许可能大概,哪会服务器也问题了
Reply View the author
lcw0268
deepin
2017-07-28 06:04
#12
楼主知道kali密钥的包名吗?安装了就可以,但肯定搞废系统。
所以我都不说包名是啥。
Reply View the author
metanoia1989
deepin
2017-07-28 06:44
#13


谢谢大家,解决了。google一下找到了问题,原来是dns的原因。
帖子地址:https://unix.stackexchange.com/questions/361642/keyserver-recieve-failed-on-every-keyserver-available/371814

改了一下/etc/resolve.conf文件就好了。
    # Generated by NetworkManager
  1. #nameserver 127.0.0.1
  2. #nameserver 218.85.152.99
  3. #nameserver 218.85.157.99

  4. nameserver 114.114.114.114
  5. nameserver 114.114.115.115
Copy the Code
改完就可以导入公匙了
    Executing: /tmp/apt-key-gpghome.qsZ987HByh/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 7D8D0BF6
  1. gpg: key ED444FF07D8D0BF6: public key "Kali Linux Repository " imported
  2. gpg: Total number processed: 1
  3. gpg:               imported: 1
Copy the Code



Reply View the author
mx1014
deepin
2017-07-30 02:09
#14
所以想知道你现在的系统残了吗,没废我也来
Reply View the author
metanoia1989
deepin
2017-07-30 02:33
#15
https://bbs.deepin.org/post/143308
所以想知道你现在的系统残了吗,没废我也来

添加源只是更新软件列表,但没有进行系统升级,当然没残。
Reply View the author
36******[email protected]
deepin
2017-07-30 06:35
#16
所以想知道你现在的系统残了吗,没废我也来
Reply View the author
133******90
deepin
2017-07-30 16:01
#17
搜一下Katoolin
Reply View the author
VI~TONISEN
deepin
2017-07-30 18:11
#18
已残,重装了,不
Reply View the author
VI~TONISEN
deepin
2017-07-30 18:12
#19
好奇了,好奇害死猫
Reply View the author
metanoia1989
deepin
2017-07-31 06:42
#20
https://bbs.deepin.org/post/143308
好奇了,好奇害死猫

我的系统还是好的啊
Reply View the author
1 / 2
To page