4
4月
2025
加速 Debian 更新:用快速镜像替换存储库
16:57

加速 Debian 更新:用快速镜像替换存储库

4 4月 2025 16:57

Debian 更新默认来自位于海外的 debian.org 服务器。 俄罗斯联邦和白俄罗斯有快速镜像,可以让您加快更新包的下载速度。

任务

Ubuntu 有一个“更新管理器”,允许您评估速度并选择最快的镜像。 在 Debian 中没有这样的带有图形界面的实用程序。 同样的问题也出现在基于 Debian Stable 的 antiX 23.2 中。

更新_mint_isp
更新_mint_isp2

警告

!!注意力! 在更改存储库配置之前,请复制文件“/etc/apt/sources.list”和“/etc/apt/sources.list.d/*”的原始版本。

解决方案是“netselect-apt”实用程序

su -
apt update
apt install netselect-apt

发射:

netselect-apt

结果是这个版本的 Debian 中最快、最快的“镜像”:
最快

编辑“sources.list”和“/etc/apt/sources.list.d”文件

根据发行版,您需要编辑其中一个文件 sources.list, либо несколько в подкаталоге /etc/apt/sources.list.d

原来是#Debian Bookworm/稳定版:

deb http://ftp.ru.debian.org/debian/ bookworm 主要贡献非自由非自由固件

它变成了#Debian Bookworm/稳定版:
deb http://mirror.docker.ru/debian/ bookworm 主要贡献非自由非自由非自由固件

 

原来是#Debian Bookworm 更新:

deb http://ftp.ru.debian.org/debian/ bookworm-updates 主要贡献非自由非自由固件

它变成了#Debian Bookworm 更新:

deb http://mirror.docker.ru/debian/ bookworm-updates 主要贡献非自由非自由固件

 

原来是 (antiX 23.2 runit 的 antix.conf):

deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://mirror.truenetwork.ru/mxlinux/antix/bookworm 书虫主要非自由 nosystemd

它变成了 (antiX 23.2 runit 的 antix.conf)::
deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] https://mirror.datacenter.by/pub/mirrors/mxlinux.org/packages/antix/bookworm/ bookworm main nonfree nosystemd


Debian 存储库镜像列表

!!!互联网上有一个 Debian 镜像列表,服务器遍布世界各地:
!!!https://www.debian.org/mirror/list

注意: 为了提高效率,安全更新无论如何都会从中央 Debian 服务器下载。

antiX 存储库镜像列表

https://antixlinux.com/mirmon-packages/

在俄罗斯、白俄罗斯和哈萨克斯坦工作的 antiX 和 MX Linux 存储库

用于检查当前版本 antiX 23.2 和 MX 23.5 的“镜像”列表的自动系统:

*https://antixlinux.com/mirmon-packages/

1)俄罗斯
https://mirror.yandex.ru/mirrors/MX-Linux/MX-Packages/
http://mirror.truenetwork.ru/mxlinux/

2)白俄罗斯
*https://mirror.datacenter.by/pub/mirrors/mxlinux.org/packages/

3)哈萨克斯坦
http://mirror.neolabs.kz/mx/packages/
https://mirror.ps.kz/mx/packages/

注意:
要添加到“apt 源”文件,您需要在 URL 末尾的“packages”一词之后添加您的版本文本,例如,“/antix/书虫/” 对于 antiX 23.2。
例如,对于存储库 https://mirror.ps.kz/mx/packages/ 对于 antiX 23.2(基于 bookworm),在 .conf 文件中指定
deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] https://mirror.ps.kz/mx/packages/antix/bookworm/ main nonfree nosystemd
对于同一个存储库 https://mirror.ps.kz/mx/packages/ 但对于 antiX 21 或 22(基于 bullseye),请在 .conf 文件中指定
deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] https://mirror.ps.kz/mx/packages/antix/bookworm/ main nonfree nosystemd

antiX 早期版本的存储库列表:
antiX 21/22 的存储库
antiX 19 存储库


最后更新:05/08/2025(antiX 和 MX 存储库中的软件包镜像列表)



相关出版物