分页: 1 / 1

为什么我执行apt-get update 的时候经常出错?

发表于 : 2006-05-12 22:24
ubuntu4fun
在dapper下执行apt-get update,十次有就九次以上会出错:

代码: 全选

忽略 http://archive.ubuntu.org.cn dapper Release.gpg
获取:1 http://ubuntu.cn99.com dapper Release.gpg [189B]
获取:2 http://ubuntu.cn99.com dapper-security Release.gpg [189B]
获取:3 http://ubuntu.cn99.com dapper-updates Release.gpg [189B]
获取:4 http://debian.okey.net dapper Release.gpg [189B]
获取:5 http://debian.okey.net dapper-security Release.gpg [189B]
获取:6 http://debian.okey.net dapper-updates Release.gpg [189B]
忽略 http://archive.ubuntu.org.cn dapper-security Release.gpg
忽略 http://archive.ubuntu.org.cn dapper-updates Release.gpg
命中 http://debian.okey.net dapper Release
命中 http://ubuntu.cn99.com dapper Release
命中 http://ubuntu.cn99.com dapper-security Release
命中 http://debian.okey.net dapper-security Release
忽略 http://archive.ubuntu.org.cn dapper Release
忽略 http://archive.ubuntu.org.cn dapper-security Release
命中 http://debian.okey.net dapper-updates Release
忽略 http://archive.ubuntu.org.cn dapper-updates Release
忽略 http://archive.ubuntu.org.cn dapper/main Packages
忽略 http://archive.ubuntu.org.cn dapper/restricted Packages
命中 http://ubuntu.cn99.com dapper-updates Release
忽略 http://archive.ubuntu.org.cn dapper/universe Packages
忽略 http://archive.ubuntu.org.cn dapper/multiverse Packages
忽略 http://archive.ubuntu.org.cn dapper-security/main Packages
忽略 http://archive.ubuntu.org.cn dapper-security/restricted Packages
忽略 http://archive.ubuntu.org.cn dapper-security/universe Packages
忽略 http://archive.ubuntu.org.cn dapper-security/multiverse Packages
忽略 http://archive.ubuntu.org.cn dapper-updates/main Packages
忽略 http://archive.ubuntu.org.cn dapper-updates/restricted Packages
忽略 http://archive.ubuntu.org.cn dapper-updates/universe Packages
忽略 http://archive.ubuntu.org.cn dapper-updates/multiverse Packages
错误 http://archive.ubuntu.org.cn dapper/main Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper/restricted Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper/universe Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper/multiverse Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-security/main Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-security/restricted Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-security/universe Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-security/multiverse Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-updates/main Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-updates/restricted Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-updates/universe Packages
  404 Not Found
错误 http://archive.ubuntu.org.cn dapper-updates/multiverse Packages
  404 Not Found
命中 http://debian.okey.net dapper/main Packages
命中 http://debian.okey.net dapper/restricted Packages
命中 http://debian.okey.net dapper/universe Packages
命中 http://debian.okey.net dapper/multiverse Packages
命中 http://ubuntu.cn99.com dapper/main Packages
命中 http://ubuntu.cn99.com dapper/restricted Packages
命中 http://ubuntu.cn99.com dapper/universe Packages
命中 http://ubuntu.cn99.com dapper/multiverse Packages
命中 http://ubuntu.cn99.com dapper/main Sources
命中 http://ubuntu.cn99.com dapper/restricted Sources
命中 http://ubuntu.cn99.com dapper/universe Sources
命中 http://ubuntu.cn99.com dapper/multiverse Sources
命中 http://ubuntu.cn99.com dapper-security/main Packages
命中 http://ubuntu.cn99.com dapper-security/restricted Packages
命中 http://ubuntu.cn99.com dapper-security/universe Packages
命中 http://ubuntu.cn99.com dapper-security/multiverse Packages
命中 http://ubuntu.cn99.com dapper-security/main Sources
命中 http://ubuntu.cn99.com dapper-security/restricted Sources
命中 http://ubuntu.cn99.com dapper-security/universe Sources
命中 http://ubuntu.cn99.com dapper-security/multiverse Sources
命中 http://debian.okey.net dapper-security/main Packages
命中 http://debian.okey.net dapper-security/restricted Packages
命中 http://debian.okey.net dapper-security/universe Packages
命中 http://debian.okey.net dapper-security/multiverse Packages
命中 http://debian.okey.net dapper-updates/main Packages
命中 http://debian.okey.net dapper-updates/restricted Packages
命中 http://debian.okey.net dapper-updates/universe Packages
命中 http://debian.okey.net dapper-updates/multiverse Packages
命中 http://ubuntu.cn99.com dapper-updates/main Packages
命中 http://ubuntu.cn99.com dapper-updates/restricted Packages
命中 http://ubuntu.cn99.com dapper-updates/universe Packages
命中 http://ubuntu.cn99.com dapper-updates/multiverse Packages
命中 http://ubuntu.cn99.com dapper-updates/main Sources
命中 http://ubuntu.cn99.com dapper-updates/restricted Sources
命中 http://ubuntu.cn99.com dapper-updates/universe Sources
命中 http://ubuntu.cn99.com dapper-updates/multiverse Sources
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper/main/binary-i386/Packa ges.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper/restricted/binary-i386 /Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper/universe/binary-i386/P ackages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper/multiverse/binary-i386 /Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-security/main/binary-i 386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-security/restricted/bi nary-i386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-security/universe/bina ry-i386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-security/multiverse/bi nary-i386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-updates/main/binary-i3 86/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-updates/restricted/bin ary-i386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-updates/universe/binar y-i386/Packages.gz  404 Not Found
无法下载 http://archive.ubuntu.org.cn/ubuntu/dists/dapper-updates/multiverse/bin ary-i386/Packages.gz  404 Not Found
下载 6B,耗时 2s (3B/s)
正在读取软件包列表...
E: 有一些索引文件不能下载,它们可能被忽略了,也可能转而使用了旧的索引文件。

跟源有关吗?我的源是:

代码: 全选

## http://forum.ubuntu.org.cn/about4310.html
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe mult iverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multi verse


deb http://debian.okey.net/ubuntu/ubuntu/ dapper main restricted universe multiv erse
deb http://debian.okey.net/ubuntu/ubuntu/ dapper-security main restricted univer se multiverse
deb http://debian.okey.net/ubuntu/ubuntu/ dapper-updates main restricted univers e multiverse


## two slow, so i commented them --by jackie
# deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiver se
# deb http://archive.ubuntu.com/ubuntu/ dapper-security main restricted universe  multiverse
# deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse


deb http://archive.ubuntu.org.cn/ubuntu/ dapper main restricted universe multive rse
deb http://archive.ubuntu.org.cn/ubuntu/ dapper-security main restricted univers e multiverse
deb http://archive.ubuntu.org.cn/ubuntu/ dapper-updates main restricted universe  multiverse

## two slow, so i commented them. --by jackie

# deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe  multiverse

# deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted univ erse multiverse


deb-src http://ubuntu.cn99.com/ubuntu dapper main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu dapper-security main restricted universe m ultiverse
deb-src http://ubuntu.cn99.com/ubuntu dapper-updates main restricted universe mu ltiverse
[/code]

发表于 : 2006-05-12 23:15
ubuntu4fun
果然是源的问题^_^

发表于 : 2006-05-13 9:16
karron
把ubuntu-cn的源全部去掉

发表于 : 2006-05-13 10:39
leal
404 Not Found

表示该地址不可访问

发表于 : 2006-05-14 15:12
chieftain
我也有过类似的情况,也搞不清到底是什么问题
不过我处理这个问题一般第一就是换其他的源试一下,第二重起电脑在update,有时这样的方法的确可行,你也不妨试一下 :)

发表于 : 2006-05-14 15:55
sinoyster
如果不会手动编辑sources.list,建议用synaptic来编辑