deb http://mirrors.163.com/debian/ <VERSION> main non-free contrib deb http://mirrors.163.com/debian/ <VERSION>-updates main non-free contrib deb http://mirrors.163.com/debian/ <VERSION>-backports main non-free contrib deb-src http://mirrors.163.com/debian/ <VERSION> main non-free contrib deb-src http://mirrors.163.com/debian/ <VERSION>-updates main non-free contrib deb-src http://mirrors.163.com/debian/ <VERSION>-backports main non-free contrib deb http://mirrors.163.com/debian-security/ <VERSION>/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ <VERSION>/updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ <VERSION> main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ <VERSION> main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ <VERSION>-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ <VERSION>-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ <VERSION>-backports main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ <VERSION>-backports main contrib non-free deb http://mirrors.ustc.edu.cn/debian-security/ <VERSION>/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian-security/ <VERSION>/updates main contrib non-free
为 debian 的版本名,根据版本改变
一般的,直接将默认配置文件中 http://deb.debian.org 修改为相应源地址即可:$ sudo sed -i 's/deb.debian.org/<mirror_addr>/g' /etc/apt/sources.list
openSUSE
openSUSE 使用 MirrorBrain 技术,中央服务器会按照 IP 中转下载请求到附近的镜像,所以更改软件源通常只会加快刷新软件元的速度,对下载速度影响不大