apt update更新时出错
Tofloor
poster avatar
bainian
deepin
2018-08-25 06:06
Author
在用sudo apt update更新 时报错,开了国内代理的,有谁知道原因么,还有时候会报hash校验不符的错:


命中:1 http://packages.deepin.com/deepin panda InRelease
命中:2 http://linux.teamviewer.com/deb stable InRelease                          
忽略:3 http://update.send-anywhere.com/linux/debian stable InRelease
获取:4 http://update.send-anywhere.com/linux/debian stable Release [2,392 B]
获取:5 http://update.send-anywhere.com/linux/debian stable Release.gpg [490 B]
获取:7 http://update.send-anywhere.com/linux/debian stable/main amd64 Packages [496 B]
获取:6 http://219.238.7.73/files/112100000261AD1F/debian.cn99.com/debian stable/main i386 Packages [499 B]
错误:6 http://219.238.7.73/files/112100000261AD1F/debian.cn99.com/debian stable/main i386 Packages
  文件尺寸不符(6568728 != 499)。您使用的镜像正在同步中? [IP: 219.238.7.73 80]
  Hashes of expected file:
   - Filesize:499 [weak]
   - SHA256:65b2922437745feedb69fb9b4e2e54a96b7e8da08c55efa4b7779ea43a53d7ae
   - SHA1:ae261f282f20cc3cf9c946ef329d7431fa6716f1 [weak]
   - MD5Sum:cc9d77dd377a41a714e37e09ae26e57c [weak]
  Release file created at: Thu, 19 Jul 2018 10:34:47 +0000
已下载 2,882 B,耗时 3秒 (957 B/s)
正在读取软件包列表... 完成
E: 无法下载 http://219.238.7.73/files/112100 ... y-i386/Packages.bz2  文件尺寸不符(6568728 != 499)。您使用的镜像正在同步中? [IP: 219.238.7.73 80]
   Hashes of expected file:
    - Filesize:499 [weak]
    - SHA256:65b2922437745feedb69fb9b4e2e54a96b7e8da08c55efa4b7779ea43a53d7ae
    - SHA1:ae261f282f20cc3cf9c946ef329d7431fa6716f1 [weak]
    - MD5Sum:cc9d77dd377a41a714e37e09ae26e57c [weak]
   Release file created at: Thu, 19 Jul 2018 10:34:47 +0000
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。



Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2018-08-25 06:56
#1
把/etc/sources.list.d
Reply View the author
avatar
WENWEN
deepin
2018-08-25 06:57
#2
下面的list删除后再试试,应该是外部源导致
Reply View the author
avatar
bainian
deepin
2018-08-25 07:18
#3
https://bbs.deepin.org/post/167810
下面的list删除后再试试,应该是外部源导致

嗯 ,我试试试
Reply View the author
avatar
153******45
deepin
2018-08-25 07:37
#4
这是运营商劫持,论坛搜索解决办法吧
Reply View the author
avatar
bainian
deepin
2018-08-28 06:45
#5
https://bbs.deepin.org/post/167810
这是运营商劫持,论坛搜索解决办法吧

我猜 有可能 ,我是北京宽带通的。nat过的内网。
Reply View the author
avatar
cpublic
deepin
2018-08-28 09:16
#6
果断用阿里源来命令行更新!速度快!稳定性好!
可参考我的博客文章:
深度Linux(Deepin Linux)更新升级到15.7的佛系折腾
Reply View the author