首页 > 其他 > 详细

Debian 9 更新 sourrce.list(163源)

时间:2018-07-09 23:39:11      阅读:422      评论:0      收藏:0      [点我收藏+]

Debian 9 更新 sourrce.list(163源)

需求说明
更新apt-get源

kyeup@kyeup-nas:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.4 (stretch)
Release:    9.4
Codename:   stretch
kyeup@kyeup-nas:~$ 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源)

原文:https://www.cnblogs.com/kyeup/p/9286678.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!