码迷,mamicode.com
首页 > 其他好文 > 详细

Debian 9 更新 sourrce.list(163源)

时间:2018-07-09 23:41:52      阅读:515      评论:0      收藏:0      [点我收藏+]

标签:apt-get   available   rom   src   lin   known   lis   upd   rev   

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源)

标签:apt-get   available   rom   src   lin   known   lis   upd   rev   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!