微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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 测试。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐