Debian stretch更换国内源

Posted 新贵

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Debian stretch更换国内源相关的知识,希望对你有一定的参考价值。

在debian图形化安装过程中就可以选择网络镜像的位置

据说电信用清华的源快,移动的用网易源快

备份源配置文件:

cp /etc/apt/sources.list /etc/apt/sources.listbak 

 

sudo nano /etc/apt/sources.list

 

deb http://mirrors.163.com/debian/ stretch main non-free contrib
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib

 

更新源:

apt-get update

 

以上是关于Debian stretch更换国内源的主要内容,如果未能解决你的问题,请参考以下文章

Debian9.4更换源的正确姿势

大神教你Debian GNU/Linux 9.7 “Stretch” Live和安装镜像开放下载

树莓派4B更换国内源

linux/Deepin /Debian 9 Stretch安装Wine

从 Debian Stretch 升级到 Buster 后出现 OCS 错误

How to install the latest NVIDIA drivers on Debian 9 Stretch Linux