V20总是更新失败
Tofloor
poster avatar
yellowleaf
deepin
2020-09-03 17:01
Author

不知道什么情况,总是提示更新失败,有没有从根本解决的方法
Reply Favorite View the author
All Replies
avatar
残念
deepin
2020-09-03 17:42
#1
打开终端输入
  1. sudo apt update && sudo apt upgrade
Copy the Code

如有错误,贴上来
Reply View the author
avatar
yellowleaf
deepin
2020-09-03 17:54
#2

Reply View the author
avatar
Ziggy
deepin
2020-09-03 18:24
#3

删掉第三方源再来
Reply View the author
avatar
haohu1193
deepin
2020-09-03 19:13
#4
本帖最后由 haohu1193 于 2020-9-3 13:17 编辑

应该看的懂吧?这些错误的网址都不是跟系统有关的...可以选择删除...或者暂时注解掉...



上面这3个才是系统更新要用...

/etc/apt/sources.list.d 下,看看 xxxx.list 文件里保存的网址...找到连不上的这些网址...删除或者网址最前面加个"#"号(注解掉)...再尝试更新...

"#"注解网址的方法如下:



打开这类文件的方法:

sudo dedit 路径/文件名.list

如下:

sudo dedit /etc/apt/sources.list.d/xxxx.list


好吧,还不够详细... jingle 补充了一下...已改正...


Reply View the author
Comments
jingle
2020-09-03 21:07
三方的都在  /etc/apt/sources.list.d 下
avatar
yellowleaf
deepin
2020-09-04 18:07
#5
本帖最后由 yellowleaf 于 2020-9-4 10:08 编辑
https://bbs.deepin.org/post/201236
应该看的懂吧?这些错误的网址都不是跟系统有关的...可以选择删除...或者暂时注解掉...

可以把你的sources.list贴给我吗
Reply View the author
Comments
haohu1193
2020-09-04 18:32
贴了...
avatar
haohu1193
deepin
2020-09-04 18:30
#6


## Generated by deepin-installer
deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
#deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free

Reply View the author
avatar
lxq
deepin
2020-09-04 19:07
#7
这是什么情况?在设置里更新失败,用命令更新也失败。而且之前登录了深度论坛之后,就再也打不开了,整个内网中的电脑都打不开
Reply View the author