我的deepin更新出问题了!!
Tofloor
poster avatar
wshuo
deepin
2017-11-18 05:09
Author
我输入命令sudo apt-get update出现
W: GPG 错误:http://repository.spotify.com stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY EFDC8610341D9410
W: 仓库 “http://repository.spotify.com stable InRelease” 没有数字签名。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
网上办法我都看了,不够是关于Ubuntu的而且我试了一下,结果还是不行,求大神救救我!!感激不尽!!

Reply Favorite View the author
All Replies
avatar
a578628091
deepin
2017-11-18 06:14
#1
为啥要用命令更新啊,不是可以操作吗,另外更新时不能操作其他东西,否则会打断更新
Reply View the author
avatar
wshuo
deepin
2017-11-18 19:34
#2
额,玩linux难道是玩图形界面?而且图形界面个命令行更新不是一个概念吧
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-11-18 19:36
#3
  1. sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 341D9410
Copy the Code
  1. sudo apt update
Copy the Code

试试看吧
Reply View the author
avatar
wshuo
deepin
2017-11-18 20:08
#4
报错了
Executing: /tmp/apt-key-gpghome.RAd6XnZS0M/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com 341D9410
gpg: failed to start the dirmngr '/usr/bin/dirmngr': 没有那个文件或目录
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.RAd6XnZS0M/S.dirmngr' failed: 没有那个文件或目录
gpg: keyserver receive failed: No dirmngr
Reply View the author
avatar
jingle
deepin
2017-11-18 20:49
#5
https://bbs.deepin.org/post/148467
报错了
Executing: /tmp/apt-key-gpghome.RAd6XnZS0M/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu. ...

安装了 三方的源吧
  1. cd /etc/apt/sources.list.d/
Copy the Code


删除list试试
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-11-18 21:23
#6
https://bbs.deepin.org/post/148467
报错了
Executing: /tmp/apt-key-gpghome.RAd6XnZS0M/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu. ...

15.4似乎没dirmngr,先安装即可。
  1. sudo apt install dirmngr
Copy the Code
  1. sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 341D9410
Copy the Code

如果spotify的key没收录进keyserver.ubuntu.com 就没用,就要仔细查看这个源的安装说明。。
  1. sudo apt update
Copy the Code
Reply View the author
avatar
wshuo
deepin
2017-11-19 00:09
#7
https://bbs.deepin.org/post/148467
15.4似乎没dirmngr,先安装即可。

多谢大神!!成功解决,谢谢谢谢!!!!
Reply View the author
avatar
wshuo
deepin
2017-11-19 00:33
#8
https://bbs.deepin.org/post/148467
15.4似乎没dirmngr,先安装即可。

大老,能不能叫我设置全局代理??系统自带的不行
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2017-11-20 04:41
#9
https://bbs.deepin.org/post/148467
大老,能不能叫我设置全局代理??系统自带的不行

就系统设置啊,你要用哪个协议就只填哪个(http、socks),可以手动、pac自动、分应用。
但全局并非完全全局,对浏览器等网络客户端应该起作,用对一些命令可能就没什么作用。



Reply View the author
avatar
wshuo
deepin
2017-11-20 05:16
#10
你说的不是全局代理,抱歉
Reply View the author
avatar
daring5920
deepin
2018-01-03 09:07
#11
看图,然后复制命令运行,记得把--recv-keys 后面的值,替换成sudo apt-get update提示的值
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EFDC8610341D9410

sudo apt install dirmngr

Reply View the author