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

为当前最终发行版之前的所有版本提供支持
回复
ubuntu4fun
帖子: 2
注册时间: 2005-12-16 22:29
送出感谢: 0
接收感谢: 0

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

#1

帖子 ubuntu4fun » 2006-05-12 22:24

在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]
ubuntu4fun
帖子: 2
注册时间: 2005-12-16 22:29
送出感谢: 0
接收感谢: 0

#2

帖子 ubuntu4fun » 2006-05-12 23:15

果然是源的问题^_^
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 karron » 2006-05-13 9:16

把ubuntu-cn的源全部去掉
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
送出感谢: 0
接收感谢: 3 次
联系:

#4

帖子 leal » 2006-05-13 10:39

404 Not Found

表示该地址不可访问
用心×恒 | 豆瓣 | 门户 | Blog
头像
chieftain
帖子: 175
注册时间: 2006-02-18 22:53
来自: 啊里不吐纳星球
送出感谢: 0
接收感谢: 0
联系:

#5

帖子 chieftain » 2006-05-14 15:12

我也有过类似的情况,也搞不清到底是什么问题
不过我处理这个问题一般第一就是换其他的源试一下,第二重起电脑在update,有时这样的方法的确可行,你也不妨试一下 :)
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
送出感谢: 2 次
接收感谢: 0
联系:

#6

帖子 sinoyster » 2006-05-14 15:55

如果不会手动编辑sources.list,建议用synaptic来编辑
回复

回到 “老旧版本支持”