[System Installation] 求助,更新失败,不知道咋解决
Tofloor
poster avatar
inwind
deepin
2023-09-02 06:01
Author

@deepin:~$ sudo apt-get update && sudo apt-get dist-upgrade
命中:1 https://community-packages.deepin.com/deepin apricot InRelease
命中:2 https://pro-driver-packages.uniontech.com eagle InRelease
命中:3 https://community-packages.deepin.com/driver driver InRelease
命中:5 https://community-packages.deepin.com/printer eagle InRelease
命中:6 http://packages.microsoft.com/repos/edge stable InRelease
命中:4 https://app-store-files.uniontech.com/230901100521586/appstore deepin InRelease
忽略:7 http://ftp.debian.org/debian stretch-backports InRelease
错误:8 http://ftp.debian.org/debian stretch-backports Release
404 Not Found [IP: 151.101.110.132 80]
获取:9 https://deb.opera.com/opera-stable stable InRelease [2,590 B]
错误:9 https://deb.opera.com/opera-stable stable InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 24A1004B1F11DCC9
正在读取软件包列表... 完成
E: 仓库 “http://ftp.debian.org/debian stretch-backports Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://deb.opera.com/opera-stable stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 24A1004B1F11DCC9

Reply Favorite View the author
All Replies
jjcui8595
deepin
2023-09-02 06:06
#1

删除第三方源,或安装公钥

Reply View the author
阿顺呀
deepin
2023-09-02 06:07
#2

执行下面命令之后 再更新试试

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
Reply View the author
fax928
deepin
2023-09-02 06:14
#3

忽略:7 http://ftp.debian.org/debian stretch-backports InRelease
错误:8 http://ftp.debian.org/debian stretch-backports Release
404 Not Found [IP: 151.101.110.132 80]
获取:9 https://deb.opera.com/opera-stable stable InRelease [2,590 B]
错误:9 https://deb.opera.com/opera-stable stable InRelease

屏蔽这俩源试试。

Reply View the author
昨夜的星辰
deepin
2023-09-02 06:17
#4

控制中心先把第三方源那个关掉吧,不然更新的时候万一给你整了个不兼容的包上来,别把系统搞崩了

Reply View the author
inwind
deepin
2023-09-02 06:20
#5
阿顺呀

执行下面命令之后 再更新试试

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9

这个试了,不行,谢谢

Reply View the author
inwind
deepin
2023-09-02 06:23
#6
inwind

这个试了,不行,谢谢

hero@deepin:$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
Executing: /tmp/apt-key-gpghome.pqEznPKy0K/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
gpg: 密钥 24A1004B1F11DCC9:公钥 “Opera Software Archive Automatic Signing Key 2023 ” 已导入
gpg: 处理的总数:1
gpg: 已导入:1
superhero@deepin:
$ sudo apt-get update && sudo apt-get dist-upgrade
命中:1 https://pro-driver-packages.uniontech.com eagle InRelease
命中:2 https://community-packages.deepin.com/deepin apricot InRelease
命中:4 https://community-packages.deepin.com/driver driver InRelease
命中:5 https://community-packages.deepin.com/printer eagle InRelease
忽略:6 http://ftp.debian.org/debian stretch-backports InRelease
命中:7 http://packages.microsoft.com/repos/edge stable InRelease
命中:3 https://app-store-files.uniontech.com/230901100521586/appstore deepin InRelease
错误:8 http://ftp.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:8c::644 80]
获取:9 https://deb.opera.com/opera-stable stable InRelease [2,590 B]
获取:10 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1,164 B]
正在读取软件包列表... 完成
E: 仓库 “http://ftp.debian.org/debian stretch-backports Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

Reply View the author
阿尼樱奈奈
Moderator
2023-09-02 06:42
#7
inwind

hero@deepin:$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
Executing: /tmp/apt-key-gpghome.pqEznPKy0K/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
gpg: 密钥 24A1004B1F11DCC9:公钥 “Opera Software Archive Automatic Signing Key 2023 ” 已导入
gpg: 处理的总数:1
gpg: 已导入:1
superhero@deepin:
$ sudo apt-get update && sudo apt-get dist-upgrade
命中:1 https://pro-driver-packages.uniontech.com eagle InRelease
命中:2 https://community-packages.deepin.com/deepin apricot InRelease
命中:4 https://community-packages.deepin.com/driver driver InRelease
命中:5 https://community-packages.deepin.com/printer eagle InRelease
忽略:6 http://ftp.debian.org/debian stretch-backports InRelease
命中:7 http://packages.microsoft.com/repos/edge stable InRelease
命中:3 https://app-store-files.uniontech.com/230901100521586/appstore deepin InRelease
错误:8 http://ftp.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:8c::644 80]
获取:9 https://deb.opera.com/opera-stable stable InRelease [2,590 B]
获取:10 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1,164 B]
正在读取软件包列表... 完成
E: 仓库 “http://ftp.debian.org/debian stretch-backports Release” 不再含有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

终端执行以下命令:

cd /etc/apt/sources.list.d

ls

Reply View the author
inwind
deepin
2023-09-02 07:18
#8
It has been deleted!
inwind
deepin
2023-09-02 07:18
#9
阿尼樱奈奈

终端执行以下命令:

cd /etc/apt/sources.list.d

ls

hero@deepin:/etc/apt/sources.list.d$ ls
appstore.list driver.list opera-stable.list sparkstore.list
devicemanager.list microsoft-edge-dev.list printer.list stretch-backports.list

Reply View the author
昨夜的星辰
deepin
2023-09-02 07:35
#10

控制中心--更新--更新设置--第三方仓库关了再试试

Reply View the author
inwind
deepin
2023-09-02 07:40
#11
昨夜的星辰

控制中心--更新--更新设置--第三方仓库关了再试试

已经关了,没用呢

Reply View the author
fax928
deepin
2023-09-02 08:18
#12
inwind

已经关了,没用呢

关了后,再截个图看看呢。

Reply View the author
吉吉如律令
deepin
2023-09-02 14:00
#13

不要随便乱改apt更新源文件,也就是 /etc/apt/sources.list这个文件,你的更新源里多了两项,一个是opera-stable这个,这是opera浏览器的更新源,这个加进来倒是没太大问题,问题是你需要添加对应的公钥,相当于一个数字签名,验证你下载的文件确实是来自于opera官方的服务器,但debian stretch这个问题就大了,stretch是debian9的代号,即使是deepin V20,那也是基于debian10开发的,建议直接删除源文件里带debian的那几行

Reply View the author
阿尼樱奈奈
Moderator
2023-09-02 15:27
#14
inwind

hero@deepin:/etc/apt/sources.list.d$ ls
appstore.list driver.list opera-stable.list sparkstore.list
devicemanager.list microsoft-edge-dev.list printer.list stretch-backports.list

执行:sudo rm stretch-backports.list

Reply View the author