浙江大学开源镜像站
Debian GNU/Linux10(buster) 下如何更换源为 浙江大学开源镜像站
使用vim将/etc/apt/sources.list替换为下述内容
deb http://mirrors.zju.edu.cn/debian/ buster main non-free contrib deb http://mirrors.zju.edu.cn/debian/ buster-updates main non-free contrib deb http://mirrors.zju.edu.cn/debian-security/ buster/updates main non-free contrib deb-src http://mirrors.zju.edu.cn/debian/ buster main non-free contrib deb-src http://mirrors.zju.edu.cn/debian/ buster-updates main non-free contrib deb-src http://mirrors.zju.edu.cn/debian-security/ buster/updates main non-free contrib
敲击i键进入插入模式,组合键ctrl+shift+v将复制内容粘贴至源文件中,敲击两次esc键进入命令模式,输入引号内键“:wq!”保存并退出
更改完 sources.list 文件后请运行 sudo apt-get update 更新索引以生效。