20社区版无法更新
Tofloor
poster avatar
solothink
deepin
2020-08-22 07:44
Author
本帖最后由 solothink 于 2020-8-21 23:48 编辑

我更新另外一台电脑,想升级到20社区版,老报错,“更新失败”按照前面有网友的建议,输入如下命令,
liangzicat@spring2:~$ sudo apt update
[sudo] liangzicat 的密码:
正在读取软件包列表... 完成
E: 无法获得锁 /var/lib/apt/lists/lock - open (11: 资源暂时不可用)
E: 无法对目录 /var/lib/apt/lists/ 加锁

再运行一次,如下
liangzicat@spring2:~$ sudo apt update
[sudo] liangzicat 的密码:
获取:2 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]                          
命中:3 https://community-packages.deepin.com/deepin apricot InRelease                           
命中:4 https://cdn-package-store6.deepin.com/appstore eagle InRelease                           
错误:2 http://dl.google.com/linux/chrome/deb stable InRelease
  由于没有公钥,无法验证下列签名: NO_PUBKEY 78BD65473CB3BD13
命中:1 http://uos-packages.deepin.com/printer eagle InRelease
正在读取软件包列表... 完成
W: GPG 错误:http://dl.google.com/linux/chrome/deb stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 78BD65473CB3BD13
E: 仓库 “http://dl.google.com/linux/chrome/deb stable InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。



Reply Favorite View the author
All Replies
avatar
SamLukeYes
deepin
2020-08-22 17:04
#1
把 chrome 的源禁用一下就不会显示这个错误了
Reply View the author
avatar
solothink
deepin
2020-08-22 17:33
#2
https://bbs.deepin.org/post/200141
把 chrome 的源禁用一下就不会显示这个错误了

怎么禁用啊,不会啊,赐教一下呢
Reply View the author
Comments
jingle
2020-08-22 17:43
看4楼,然后最前面加个#
avatar
jingle
deepin
2020-08-22 17:43
#3
https://bbs.deepin.org/post/200141
怎么禁用啊,不会啊,赐教一下呢

sudo dedit /etc/apt/sources.list.d/google-chrome.list
Reply View the author
avatar
SamLukeYes
deepin
2020-08-23 01:06
#4
https://bbs.deepin.org/post/200141
怎么禁用啊,不会啊,赐教一下呢

除了直接改配置文件,还可以用新立得编辑软件源,去掉前面的打勾即可
Reply View the author
avatar
solothink
deepin
2020-08-23 06:23
#5
https://bbs.deepin.org/post/200141
sudo dedit /etc/apt/sources.list.d/google-chrome.list

好的,谢谢,成功了!
Reply View the author