Debian 9 更新 sourrce.list(163源)
需求说明:
更新apt-get源
[email protected]:~$ lsb_release -a No LSB modules are available. distributor ID: Debian Description: Debian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch [email protected]:~$ cat /etc/apt/source-list # deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20180310-11:21]/ stretch main #deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20180310-11:21]/ stretch main #deb http://mirrors.163.com/debian/ stretch main #deb-src http://mirrors.163.com/debian/ stretch main #deb http://security.debian.org/debian-security stretch/updates main #deb-src http://security.debian.org/debian-security stretch/updates main # stretch-updates,prevIoUsly kNown as ‘volatile‘ #deb http://mirrors.163.com/debian/ stretch-updates main #deb-src http://mirrors.163.com/debian/ stretch-updates main 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
配置完成后: sudo apt-get update 测试。