截至2025年中期,Debian 10(Buster)已归档,这意味着标准软件仓库不再可用。C-Servers仍为低内存系统提供Debian 10支持,但遗憾的是,Debian提供的云镜像未包含更新或软件安装所需的apt仓库变更。
为恢复此核心功能并进行更新,必须修改/etc/apt/sources.list文件以使用archive.debian.org源。
请替换所有现有镜像源行,确保系统功能正常运行。
deb http://archive.debian.org/debian/ buster main contrib non-free
deb http://archive.debian.org/debian/ buster-updates main contrib non-free
deb http://archive.debian.org/debian-security buster/updates main contrib non-free
区别在于:你需要在地址中添加“archive”,就像上面那样。这样,你的apt在Debian 10下就能重新工作了。
在某些情况下,你可能还希望使用更新的软件包。为此,Debian提供了“Backports”源,你可以在那里获取更更新的系统软件包。如果你需要为Buster获取更新的软件包,也请在sources.list中添加以下内容:
deb http://archive.debian.org/debian/ buster-backports main contrib non-free