如何在当前时刻更新 Debian 6.0 squeeze(2016 年 9 月)

如何在当前时刻更新 Debian 6.0 squeeze(2016 年 9 月)

网络上有一些手册,但都认为debian仍然维护6.0的镜像

然而目前 Debian 存储库并没有受到挤压。

那么,如果镜像不可用,如何将当前服务器更新为可维护的内容呢?

apt-get update  
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/contrib Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources               
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
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
Ign http://ftp.us.debian.org squeeze Release.gpg   
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_GB
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en_GB
Ign http://ftp.us.debian.org squeeze Release
Ign http://ftp.us.debian.org squeeze/main Sources
Ign http://ftp.us.debian.org squeeze/contrib Sources
Ign http://ftp.us.debian.org squeeze/non-free Sources
Ign http://ftp.us.debian.org squeeze/main amd64 Packages
Ign http://ftp.us.debian.org squeeze/contrib amd64 Packages
Ign http://ftp.us.debian.org squeeze/non-free amd64 Packages
Err http://ftp.us.debian.org squeeze/main Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/contrib Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/non-free Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/main amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/contrib amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/non-free amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/contrib/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/non-free/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/contrib/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/non-free/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

答案1

Debian Squeeze 已达到 EOL,它没有收到任何安全更新,但如果您需要更新数据库并安装软件包,可以在 Debian Archive 上找到其存储库。

sources.list您应该如下编辑:

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

您还需要注释掉所有其他存储库。

要更新运行:

apt-get install debian-archive-keyring
apt-get update

debian 档案

随着时间的推移,我们将使旧版本的二进制包过期。目前,我们提供了squeeze、lenny、etch、sarge、woody、potato、slink、hamm 和bo 的二进制文件,并且只有其他版本的源代码。

如果您使用 APT,相关的sources.list 条目如下所示:

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

或者

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

答案2

你不能。挤压是不再支持

要接收更新,您必须将 Squeeze 升级到 Wheezy,后者本身仅提供长期支持,然后再升级到当前的稳定版 Jessie。

答案3

即使 Squeeze LTS 现在也不支持,但如果您在支持时保持升级,您应该有一个可以使用标准程序升级到 Wheezy 的系统,但它可能没有经过充分测试。而且 Wheezy 现在只提供长期支持,因此除非您有非常特殊的需求,否则您应该选择 Jessie,它可能会更快、更容易重新安装。

相关内容