云网牛站
所在位置:首页 > Linux教程 > 更新Deepin 20系统如果出现404 Not Found错误的处理

更新Deepin 20系统如果出现404 Not Found错误的处理

2020-10-07 16:20:32作者:glynw稿源:深度站

有些网友从Deepin 15.11经修改源后升级到Deepin 20版本,这一切都是正常的,但用一段时间后,再次更新升级时却出现404 Not Found之类的错误,导致了系统无法更新或升级到更高一个版本。

 

出错内容

[sudo] kelin 的密码:

获取:1 https://community-packages.deepin.com/deepin apricot InRelease [19.6 kB]

命中:2 https://community-store-packages.deepin.com/appstore eagle InRelease

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free i386 Packages

忽略:6 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

忽略:7 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:8 https://community-packages.deepin.com/deepin apricot/main i386 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free i386 Packages

忽略:6 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

忽略:7 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:8 https://community-packages.deepin.com/deepin apricot/main i386 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

错误:3 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

  404  Not Found [IP: 223.111.183.30 443]

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free i386 Packages

忽略:6 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

忽略:7 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:8 https://community-packages.deepin.com/deepin apricot/main i386 Packages

正在读取软件包列表... 完成

E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/contrib/binary-i386/by-hash/SHA256/019019119ad81d7d4429fd15d5fca9c58b773351feff9fb89923db360313e14e  404  Not Found [IP: 223.111.183.30 443]

E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/contrib/binary-amd64/by-hash/SHA256/25adaaac568f41b59f442a307a93346db1e4aac73a3009cf34c03d62bf26ecdc  404  Not Found [IP: 223.111.183.30 443]

E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

 

出错后处理,不过仍然有问题

可以参考很多人遇到无法在线升级到Deepin 20正式版问题:附解决办法一文。

即在终端中执行sudo sh -c 'echo "61.54.25.98    community-packages.deepin.com" >> /etc/hosts'命令,通常情况下都能解决问题。

更新Deepin 20系统如果出现404 Not Found错误的处理

但是也有不成功的案例,如下:

执行了sudo sh -c 'echo "61.54.25.98    community-packages.deepin.com" >> /etc/hosts',但还是出现404 Not Found的错误,如下:

获取:1 https://community-packages.deepin.com/deepin apricot InRelease [19.6 kB]

命中:2 https://community-store-packages.deepin.com/appstore eagle InRelease

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

忽略:6 https://community-packages.deepin.com/deepin apricot/non-free i386 Packages

忽略:7 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

忽略:8 https://community-packages.deepin.com/deepin apricot/main i386 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:3 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

忽略:4 https://community-packages.deepin.com/deepin apricot/main amd64 Packages

忽略:6 https://community-packages.deepin.com/deepin apricot/non-free i386 Packages

忽略:7 https://community-packages.deepin.com/deepin apricot/contrib i386 Packages

忽略:8 https://community-packages.deepin.com/deepin apricot/main i386 Packages

错误:3 https://community-packages.deepin.com/deepin apricot/contrib amd64 Packages

  404  Not Found [IP: 61.54.25.98 443]

忽略:5 https://community-packages.deepin.com/deepin apricot/non-free amd64 Packages

正在读取软件包列表... 完成

E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/contrib/binary-amd64/by-hash/SHA256/25adaaac568f41b59f442a307a93346db1e4aac73a3009cf34c03d62bf26ecdc  404  Not Found [IP: 61.54.25.98 443]

E: 无法下载 https://community-packages.deepin.com/deepin/dists/apricot/main/binary-amd64/by-hash/SHA256/df93d378400d9ac99ba38e6e877f5fcc006542fbfdcd960327fbdda49ea2cbef  404  Not Found [IP: 61.54.25.98 443]

E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

注:还有人执行完命令显示找不到命令的,请复制解决命令在终端中执行,以免手动输入不正确。

 

处理方案

一般能够更新升级上来,说明原生的状态是好的。现在出现这样的问题,可等一段时间再进行操作,可能是网络上的问题,要么自身的网络问题,要么是61.54.25.98的问题也说不定。

得先从自身的网络查起,看看是不是本机不能正常的连接网络。

 

相关主题

用PXE网络安装Deepin 20系统的设置:可同时安装多台机器

精选文章
热门文章