[Others] 系统更新不了
Tofloor
poster avatar
南山少帅Felix
deepin
2023-09-12 18:32
Author
 
系统更新不了了,每次检查更新就显示一个红色叉,也没有显示任何有价值的信息,我网络也没问题啊,多次尝试都还是这样
Reply Favorite View the author
All Replies
fax928
deepin
2023-09-12 18:38
#1

打下命令sudo apt update看看有什么信息。

Reply View the author
南山少帅Felix
deepin
2023-09-12 18:49
#2
It has been deleted!
南山少帅Felix
deepin
2023-09-12 18:50
#3
fax928

打下命令sudo apt update看看有什么信息。

就这样的

image.png

Reply View the author
南山少帅Felix
deepin
2023-09-12 18:58
#4
It has been deleted!
南山少帅Felix
deepin
2023-09-12 18:59
#5
南山少帅Felix

就这样的

image.png

upgrade好像就挺正常

image.png

Reply View the author
阿尼樱奈奈
Moderator
2023-09-12 19:20
#6
南山少帅Felix

upgrade好像就挺正常

image.png

去 /etc/apt/sources.list 找找那个报错源,然后删除或注释该源:

sudo vim /etc/apt/sources.list

如果 /etc/apt/sources.list 里面没有,就去 /etc/apt/sources.list.d 里面找找:

cd /etc/apt/sources.list.d

然后执行一下ls看看list,把报错源相关的list文件用sudo rm删除

Reply View the author
fax928
deepin
2023-09-12 19:23
#7
阿尼樱奈奈

去 /etc/apt/sources.list 找找那个报错源,然后删除或注释该源:

sudo vim /etc/apt/sources.list

如果 /etc/apt/sources.list 里面没有,就去 /etc/apt/sources.list.d 里面找找:

cd /etc/apt/sources.list.d

然后执行一下ls看看list,把报错源相关的list文件用sudo rm删除

agree

Reply View the author
南山少帅Felix
deepin
2023-09-13 06:16
#8
fax928

agree

不懂咋搞
image.png

Reply View the author
fax928
deepin
2023-09-14 07:56
#9

找到文件内容里有https://pkg.cloudflareclient.com的这一行,行首输入#把这行注释掉(好像是#,记不清了,可以用sudo vim XXX编辑),然后再次试试更新。

Reply View the author