Debian10更换为163源

William
2020-08-18 / 0 评论 / 33 阅读 / 正在检测是否收录...
debian10的官方代号是buster

1、备份

mv /etc/apt/sources.list /etc/apt/sources.list.bak

2、修改文件

vim /etc/apt/sources.list

复制以下代码粘贴进去source.list中:

deb http://mirrors.163.com/debian/ buster main non-free contrib

deb http://mirrors.163.com/debian/ buster-updates main non-free contrib

deb http://mirrors.163.com/debian/ buster-backports main non-free contrib

deb-src http://mirrors.163.com/debian/ buster main non-free contrib

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

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

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

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

3、更新软件源

apt-get update
0

评论 (0)

取消