Debian 9 更新 sourrce.list(163源)
Posted kyeup
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Debian 9 更新 sourrce.list(163源)相关的知识,希望对你有一定的参考价值。
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
测试。
以上是关于Debian 9 更新 sourrce.list(163源)的主要内容,如果未能解决你的问题,请参考以下文章