更新 Debian 6 时出现问题

更新 Debian 6 时出现问题

我正在尝试更新 Debian 6 服务器,但更新后出现以下输出并出现一些错误sudo aptitude update

Ign http://archive.debian.org oldstable Release.gpg
Ign http://archive.debian.org/debian/ oldstable/contrib Translation-en
Ign http://archive.debian.org/debian/ oldstable/main Translation-en
Ign http://archive.debian.org/debian/ oldstable/non-free Translation-en
Ign http://archive.debian.org oldstable Release
Hit http://ftp.debian.org squeeze-updates Release.gpg
Ign http://ftp.debian.org/debian/ squeeze-updates/contrib Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.debian.org/debian/ squeeze-updates/non-free Translation-en
Ign http://archive.debian.org oldstable/main amd64 Packages
Hit http://ftp.debian.org squeeze-updates Release
Ign http://archive.debian.org oldstable/contrib amd64 Packages
Ign http://archive.debian.org oldstable/non-free amd64 Packages
Ign http://archive.debian.org oldstable/main amd64 Packages
Ign http://archive.debian.org oldstable/contrib amd64 Packages
Hit http://ftp.debian.org squeeze-updates/main amd64 Packages/DiffIndex
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://archive.debian.org oldstable/non-free amd64 Packages
Hit http://ftp.debian.org squeeze-updates/contrib amd64 Packages
Hit http://ftp.debian.org squeeze-updates/non-free amd64 Packages
Err http://archive.debian.org oldstable/main amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Err http://archive.debian.org oldstable/contrib amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Err http://archive.debian.org oldstable/non-free amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages

这是我的来源列表:

deb http://archive.debian.org/debian oldstable main contrib non-free

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free

此来源来自http://debgen.simplylinux.ch/

怎么了?

答案1

您需要更改oldstablelenny

如果你查看 http-repository,你会发现没有文件夹oldstable。因此出现 404。

http://archive.debian.org/debian/dists/oldstable(404)
http://archive.debian.org/debian/dists/lenny(200)

如果你不知道为什么你的源列表(archive/oldstable)中有某些内容,我建议使用这个列表:

deb http://ftp.debian.org/debian/ squeeze main
#deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free

# Security Updates
deb http://security.debian.org/ squeeze/updates main contrib non-free
#deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.debian.org/debian/ squeeze-updates main
#deb-src http://ftp.debian.org/debian/ squeeze-updates main

# testing or sid
#deb http://ftp.debian.org/debian/ testing main
#deb http://ftp.debian.org/debian/ unstable main

# Dotdeb Archive
#deb http://packages.dotdeb.org squeeze all
#deb-src http://packages.dotdeb.org squeeze all

相关内容