能发下/etc/apt/sources.list.d 里面的文件吗
Tofloor
poster avatar
dai1999
deepin
2018-04-12 05:56
Author
新手
昨天改了软件源 改成了damien-moore 什么的记得用的是sudo add-apt- repository ppa:  .....
更新库都是忽略 然后仓库没有release 不安全的仓库什么的。
把 sources.list.d下的文件全部拷到桌面后 情况看起来有所改善


命中:1 http://packages.deepin.com/deepin unstable InRelease错误:1 http://packages.deepin.com/deepin unstable InRelease  由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51正在读取软件包列表... 完成   W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://packages.deepin.com/deepin unstable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51W: 无法下载 http://packages.deepin.com/deepin/dists/unstable/InRelease  由于没有公钥,无法验证下列签名: NO_PUBKEY 425956BB3E31DF51W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。


求解答..



Reply Favorite View the author
All Replies
avatar
dai1999
deepin
2018-04-12 05:57
#1
问题大不大

/怕/怕/怕
Reply View the author
avatar
dai1999
deepin
2018-04-12 06:01
#2
更改后  
用终端将sources.list文件改为官方源了
会有错误

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:14546): GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
然后用文件管理 修改内容接着一些小操作后后
就成了问题中的的结果
Reply View the author
avatar
WENWEN
deepin
2018-04-12 17:12
#3
https://bbs.deepin.org/post/155248
问题大不大

/怕/怕/怕

一般/etc/apt/sources.list.d  目录为空 你自己加了ppa后会生成list 在此目录下
Reply View the author
avatar
dai1999
deepin
2018-04-13 00:22
#4
https://bbs.deepin.org/post/155248
一般/etc/apt/sources.list.d  目录为空 你自己加了ppa后会生成list 在此目录下

我把APT下所有东西都按默认的 换了  现在无法在深度商店安装程序

sudo apt update
[sudo] dai1999 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
所有软件包均为最新。

商店 安装软件秒提示失败
Reply View the author
avatar
jingle
deepin
2018-04-13 01:41
#5
https://bbs.deepin.org/post/155248
我把APT下所有东西都按默认的 换了  现在无法在深度商店安装程序

sudo apt update

命令行install 试试
Reply View the author
avatar
dai1999
deepin
2018-04-13 01:47
#6
https://bbs.deepin.org/post/155248
命令行install 试试

不行
apt文件夹下没有deepin的源
手动添加文件 sources.list添加官方源后 出现了

E: 仓库 “http://packages.deepin.com/deepin panda InRelease” 没有数字签名。
按照网上的添加了公钥 据说是公钥地址不在ubuntu.com
gpg --keyserver subkeys.pgp.net --recv D45DF2E8FC91AE7E
gpg --export --armor D45DF2E8FC91AE7E | sudo apt-key add -

添加后还是 没有公钥

Reply View the author
avatar
dai1999
deepin
2018-04-13 04:02
#7
deepin linux有没有将所有设置恢复默认的方法?或者用启动盘恢复系统设置的方法?我装deb包现在也错误。不知道如何是好了。
Reply View the author
avatar
Island
deepin
2018-04-13 15:58
#8
dpkg -l deepin-keyring  看下有没有这个包
Reply View the author
avatar
haha5722166
deepin
2019-11-08 00:43
#9
没人能解决吗,我也碰到这个问题
Reply View the author
avatar
i8520
deepin
2019-11-08 03:55
#10
新建文本吧 把下面代码复制 保存 给文本可执行权限 双击终端运行
  1. #!/bin/bash
  2. echo '这里写上你的开机密码'|sudo -S `date +%Y-%m-%d-%H-%M-%S`
  3. echo -n \e'"]0;还原仓库列表文件"\a'
  4. cd /etc/apt/preferences.d
  5. sudo cp -r /etc/apt/preferences.d/*.list /etc/apt/preferences.d/*.back
  6. sudo rm -rf /etc/apt/preferences.d/*.list
  7. cd /etc/apt/sources.list.d
  8. sudo cp -r /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.back
  9. sudo rm -rf /etc/apt/sources.list.d/*.list
  10. sources='## Generated by deepin-installer
  11. deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
  12. #deb-src http://packages.deepin.com/deepin lion main contrib non-free'
  13. echo "${sources}" >> ${HOME}/Desktop/sources.list
  14. cd /etc/apt
  15. sudo cp -r /etc/apt/sources.list /etc/apt/sources.list.back
  16. sudo rm -rf /etc/apt/sources.list
  17. sudo cp -r ${HOME}/Desktop/sources.list /etc/apt
  18. chmod -R 600 /etc/apt/sources.list
  19. sudo rm -rf ${HOME}/.cache/deepin/deepin-appstore* -rf && sudo apt update -y
  20. sudo apt update -y && sudo apt upgrade -y
  21. #重启
  22. shutdown - r now
Copy the Code
Reply View the author
Comments
zhoutj2001
2020-03-17 18:11
高手啊,我也瞬间解决问题了,谢谢!
fot
2020-02-04 05:17
完美解决问题,应用商店和系统更新又正常了
avatar
fot
deepin
2020-02-04 05:18
#11
https://bbs.deepin.org/post/155248
新建文本吧 把下面代码复制 保存 给文本可执行权限 双击终端运行

,zhege 这个代码解决了问题
Reply View the author