首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >apt-获取有关debian lenny的404更新

apt-获取有关debian lenny的404更新
EN

Server Fault用户
提问于 2012-03-29 01:53:40
回答 2查看 55.8K关注 0票数 23

这是我的/etc/apt/sources.list

代码语言:javascript
复制
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib non-free

当我这么做时:

代码语言:javascript
复制
# apt-get update

我得到了一些好的台词,然后:

代码语言:javascript
复制
Err http://ftp.us.debian.org lenny/contrib Packages
  404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny/non-free Packages
  404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/main Packages
  404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/contrib Packages
  404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/non-free Packages
  404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny/main Packages
  404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-i386/Packages  404 Not Found [IP: 149.20.20.6 80]    
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/binary-i386/Packages  404 Not Found [IP: 149.20.20.6 80]    
W: Failed to fetch http://security.debian.org/dists/lenny/updates/non-free/binary-i386/Packages  404 Not Found [IP: 149.20.20.6 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/contrib/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/non-free/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/main/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/contrib/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/non-free/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/main/binary-i386/Packages  404 Not Found [IP: 35.9.37.225 80]    
E: Some index files failed to download, they have been ignored, or old ones used instead.
EN

回答 2

Server Fault用户

回答已采纳

发布于 2012-03-29 02:19:21

从一个小小的窥探,这似乎是一个问题的Debian镜子。根据镜像信息,lenny应该是可用的,尽管您可能需要在/etc/apt/sources.list中用'oldstable‘来更改'lenny’的每个实例。然而,拉出3面镜子都表明'lenny‘和'oldstable’不再被列出。

更新:我做了更多的探索,发现USC反射镜看起来仍然有'lenny‘的列表。注释掉sources.list中的现有条目,并将它们复制为:

代码语言:javascript
复制
deb http://ftp.us.debian.org/debian/

代之以:

代码语言:javascript
复制
deb ftp://mirrors.usc.edu/pub/linux/distributions/debian/

看看这是不是有用的。

幸运的是,这是一个暂时的问题,几天后就会解决。

更新2:看起来这不是暂时的,http://archive.debian.org是帮Lenny拉包的最好地方。此外,对Lenny的安全支持似乎在2012年2月12日结束,尽管他们在2012年3月10日发布了5.0.10版本,这是一个要点更新。

这可能是值得规划的升级,特别是对任何互联网/面向公众的服务器。

票数 14
EN

Server Fault用户

发布于 2012-03-29 09:48:28

修改您的/etc/apt/sources.list如下:

代码语言:javascript
复制
deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free

deb http://archive.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free

deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
票数 29
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/374651

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档