[Exchange and share] 更新系统失败有遇到的吗
Tofloor
poster avatar
180******83
deepin
2023-06-13 05:42
Author

Reply Favorite View the author
All Replies
1 / 2
To page
阿尼樱奈奈
deepin
2023-06-13 05:44
#1

打开终端,执行此命令:sudo apt update && sudo apt upgrade

Reply View the author
xuqi
deepin testing team
2023-06-13 05:48
#2
  • 可以在终端执行更新升级命令看看是否能成功,或者报什么错误~
Reply View the author
180******83
deepin
2023-06-13 05:55
#3
阿尼樱奈奈

打开终端,执行此命令:sudo apt update && sudo apt upgrade

Reply View the author
180******83
deepin
2023-06-13 05:56
#4
xuqi
  • 可以在终端执行更新升级命令看看是否能成功,或者报什么错误~

Reply View the author
阿尼樱奈奈
deepin
2023-06-13 05:56
#5
180******83

去 /etc/apt/sources.list 把这个dl.google的报错源删了或注释掉

如果 /etc/apt/sources.list 里面没有,去 /etc/apt/sources.list.d 这个文件夹查看文件,看看有没有带这个源的文件,有就删了

(需要鼠标右键以管理员权限打开文件夹)

Reply View the author
180******83
deepin
2023-06-13 06:06
#6
阿尼樱奈奈

去 /etc/apt/sources.list 把这个dl.google的报错源删了或注释掉

如果 /etc/apt/sources.list 里面没有,去 /etc/apt/sources.list.d 这个文件夹查看文件,看看有没有带这个源的文件,有就删了

(需要鼠标右键以管理员权限打开文件夹)

删不了

Reply View the author
青稚
deepin
2023-06-13 06:08
#7
180******83

删不了

这是缺少gpg造成的。

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF 替换成缺少的gpg

也就是4E开头的那个

Reply View the author
180******83
deepin
2023-06-13 06:11
#8
青稚

这是缺少gpg造成的。

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF 替换成缺少的gpg

也就是4E开头的那个

怎么处理

Reply View the author
阿尼樱奈奈
deepin
2023-06-13 06:12
#9
It has been deleted!
青稚
deepin
2023-06-13 06:13
#10
180******83

怎么处理

上文已更新,另外说下,不建议在deepinV23添加第三方软件源。

Reply View the author
青稚
deepin
2023-06-13 06:23
#11

国内嘛?国内用谷歌源干嘛?

如果是国外可以用,国内用不了。

如果在国内的话按照阿尼樱奈奈的方法删除源。

我补充一下,安装gedit删除,sudo apt install gedit

之后以管理员权限打开文件夹,选择用其他方式打开文件,选择gedit,删除源。

如果源文件是单独的,也就是只有那个源,没有其他内容,直接在目录打开终端,sudo rm +文件名。

Reply View the author
180******83
deepin
2023-06-13 06:37
#12
青稚

国内嘛?国内用谷歌源干嘛?

如果是国外可以用,国内用不了。

如果在国内的话按照阿尼樱奈奈的方法删除源。

我补充一下,安装gedit删除,sudo apt install gedit

之后以管理员权限打开文件夹,选择用其他方式打开文件,选择gedit,删除源。

如果源文件是单独的,也就是只有那个源,没有其他内容,直接在目录打开终端,sudo rm +文件名。

Reply View the author
180******83
deepin
2023-06-13 06:38
#13
阿尼樱奈奈

去 /etc/apt/sources.list 把这个dl.google的报错源删了或注释掉

如果 /etc/apt/sources.list 里面没有,去 /etc/apt/sources.list.d 这个文件夹查看文件,看看有没有带这个源的文件,有就删了

(需要鼠标右键以管理员权限打开文件夹)

Reply View the author
阿尼樱奈奈
deepin
2023-06-13 06:39
#14
180******83

你是把/etc/apt/sources.list/etc/apt/sources.list.d删除了?!

Reply View the author
180******83
deepin
2023-06-13 06:40
#15
阿尼樱奈奈

你是把/etc/apt/sources.list/etc/apt/sources.list.d删除了?!

可以删吗

Reply View the author
阿尼樱奈奈
deepin
2023-06-13 06:42
#16
180******83

可以删吗

不能删的,删了就没法更新了shocked

是删文件和文件夹里面的源,不是删文件和文件夹。no

Reply View the author
180******83
deepin
2023-06-13 06:44
#17
阿尼樱奈奈

不能删的,删了就没法更新了shocked

是删文件和文件夹里面的源,不是删文件和文件夹。no

还有办法补救吗

Reply View the author
阿尼樱奈奈
deepin
2023-06-13 14:56
#18
180******83

还有办法补救吗

备份数据重装系统吧。

Reply View the author
foxbcd
deepin
2023-06-13 16:14
#19
180******83

还有办法补救吗

删了也没什么问题的,重建就好了

Linux 一切皆文件

/etc/apt/sources.list/etc/apt/sources.list.d 里面就一些软件源地址,自己加进去就行了

不会弄就叫他们发一下就好了

不需要重装的

Reply View the author
180******83
deepin
2023-06-13 18:31
#20
foxbcd

删了也没什么问题的,重建就好了

Linux 一切皆文件

/etc/apt/sources.list/etc/apt/sources.list.d 里面就一些软件源地址,自己加进去就行了

不会弄就叫他们发一下就好了

不需要重装的

多重装了

Reply View the author
1 / 2
To page