有意把 /etc/apt/trust* 给删了,如何恢复?
Tofloor
poster avatar
不避风云
deepin
2016-06-19 06:24
Author
先谢谢各位了。
试着给deepin安装ppa源,后来感觉不好,就删除了。删除的时候不小心把 /etc/apt/trust*的部分给删除了。
立马感觉

sudo apt-get update

可能不能用了。于是有如下错误

```````
命中:1 http://packages.deepin.com/deepin unstable InRelease
错误:1 http://packages.deepin.com/deepin unstable InRelease
  由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51
正在读取软件包列表... 完成   
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.deepin.com/deepin unstable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51
W: Failed to fetch http://packages.deepin.com/deepin/dists/unstable/InRelease  由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
```````

这个搜索,得知需要

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 425956BB3E31DF51

类似的命令添加,但是这个明显的是ubuntu的,深度 deepin 的网站是多少呢?https://bbs.deepin.org/user/33235 @jingle


谢谢。



Reply Favorite View the author
All Replies
avatar
不避风云
deepin
2016-06-20 07:23
#1
求助 @jingle
Reply View the author
avatar
不避风云
deepin
2016-06-20 07:24
#2
不对啊,怎么没有超链接了,对于@! 再试试@jingle
Reply View the author