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

apt源换国内源

时间:2019-08-25 18:25:10      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:back   ssi   ports   get   ESS   更新源   lis   数据   update   

vim /etc/apt/sources.list

 

deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

 

然后更新源数据库

apt-get update

apt源换国内源

标签:back   ssi   ports   get   ESS   更新源   lis   数据   update   

原文地址:https://www.cnblogs.com/tonggc1668/p/11408447.html

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