我是 Linux 领域的新手。我有一台 Linux 机器,其内核版本为 2.6.18-4-amd64。它已经以此版本运行了很长时间。我需要在机器上安装 subversion,因此我尝试了 apt-get。但收到以下信息:
The following extra packages will be installed:
libneon26 libsvn1
Suggested packages:
subversion-tools db4.4-util
The following NEW packages will be installed:
libneon26 libsvn1 subversion
0 upgraded, 3 newly installed, 0 to remove and 88 not upgraded.
Need to get 1802kB of archives.
After unpacking 5263kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 1802kB in 1s (1001kB/s)
W: Couldn't stat source package list http://archive.debian.org etch/main Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
Selecting previously deselected package libneon26.
(Reading database ... 42258 files and directories currently installed.)
Unpacking libneon26 (from .../libneon26_0.26.2-4_amd64.deb) ...
Selecting previously deselected package libsvn1.
Unpacking libsvn1 (from .../libsvn1_1.4.2dfsg1-3_amd64.deb) ...
Selecting previously deselected package subversion.
Unpacking subversion (from .../subversion_1.4.2dfsg1-3_amd64.deb) ...
Setting up libneon26 (0.26.2-4) ...
ldconfig: /usr/lib/libcrypto.so.0.9.8 is not a symbolic link
Setting up libsvn1 (1.4.2dfsg1-3) ...
ldconfig: /usr/lib/libcrypto.so.0.9.8 is not a symbolic link
Setting up subversion (1.4.2dfsg1-3) ...
W: Couldn't stat source package list http://archive.debian.org etch/main Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
运行 apt-get update 后我得到以下内容:
.....
Fetched 4332kB in 5s (786kB/s)
Failed to fetch http://archive.debian.org/debian-security/dists/etch/main/binary-amd64/Packages.gz 404 Not Found [IP: 193.62.202.28 80]
Failed to fetch http://archive.debian.org/debian-security/dists/etch/contrib/binary-amd64/Packages.gz 404 Not Found [IP: 193.62.202.28 80]
Failed to fetch http://archive.debian.org/debian-security/dists/etch/non-free/binary-amd64/Packages.gz 404 Not Found [IP: 193.62.202.28 80]
Reading package lists... Done
W: Couldn't stat source package list http://archive.debian.org etch/main Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/main Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/contrib Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.debian.org etch/non-free Packages (/var/lib/apt/lists/archive.debian.org_debian-security_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
来源列表:
deb http://archive.debian.org/debian-security/ etch main contrib non-free
deb http://archive.debian.org/debian/ etch main contrib non-free
任何帮助,将不胜感激。
答案1
Etch 的所有最终安全更新都整合到了最终次要版本在 EOL 时。因此,所有安全更新都位于 etch 的主要 debian 存储库中,您需要做的就是sources.list
:
deb http://archive.debian.org/debian/ etch main contrib non-free
deb-src http://archive.debian.org/debian/ etch main contrib non-free
答案2
Etch 已停止对 Debian 的支持。请将您的发行版升级到较新版本。例如挤