Zod*_*ddo 16 debian archive apt debian-wheezy
我在 Debian Wheezy 上有一台旧的测试机器,我现在无法真正更新。
Debian Wheezy 存储库已于 2 月归档。所以我想提前,并更新我/etc/apt/sources.list的
deb http://ftp.fr.debian.org/debian wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://ftp.fr.debian.org/debian wheezy-updates main
Run Code Online (Sandbox Code Playgroud)
到
deb http://archive.debian.org/debian wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://archive.debian.org/debian wheezy-updates main
Run Code Online (Sandbox Code Playgroud)
但是,在运行时apt-get update,我收到此错误:
# apt-get update
<snip>
Err http://archive.debian.org wheezy-updates/main i386 Packages
404 Not Found [IP : 193.62.202.28 80]
Run Code Online (Sandbox Code Playgroud)
其他存储库正在更新,没有问题。
我错过了什么吗?
Læt*_*æti 15
使用Debian 档案库时,您不应该有一个 apt 源代码行引用wheezy-updates. 这个特殊的(子)分布在档案中不存在。
如果您只是删除行:
deb http://security.debian.org/ wheezy/updates main
deb http://ftp.fr.debian.org/debian wheezy-updates main
Run Code Online (Sandbox Code Playgroud)
您应该能够apt-get再次运行您的命令。
将wheezy-updates被提供的仓库中包含包来更新主存储库,即wheezy,小版本之间。随着时间的推移,当 Wheezy 更新到 7.1、7.2 并最终更新到 7.11 时,其中包含的包wheezy-updates被移动到 Wheezy 主存储库中。当喘息了EOLed,2018年5月,不包是被关在wheezy-updates,所以在移动没有点wheezy-updates到Debian档案库。
您可以在http://archive.debian.org/debian/dists/ 上 查看存档存储库支持的所有 Debian 发行版的列表, 还可以在http://archive.debian.org/README和http://archive.debian.org/README 上查看 README 文件: //archive.debian.org/debian/README以获得更完整的存档内容列表。
关于security.debian.org存储库,它也存档在http://archive.debian.org/debian-security/ 如果您想获取 2018 年 5 月为 Wheezy 发布的最新更新,您还可以将此行添加到您的 apt 源中:
deb http://archive.debian.org/debian-security/ wheezy/updates main
Run Code Online (Sandbox Code Playgroud)
就像在对您的问题的评论中所说的那样,在使用 Debian 存档运行机器时要小心,因为这些软件包没有更新,因此不再安全(即使使用存档中的 debian-security)。如果您的机器没有直接连接到网络,那可能没问题,但否则,我强烈建议您尽快升级。
小智 9
添加安全更新:
deb http://archive.debian.org/debian wheezy main
deb http://archive.debian.org/debian-security wheezy/updates main
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
37598 次 |
| 最近记录: |