码迷,mamicode.com
首页 > 系统相关 > 详细

更换 ubuntu16.04 安装源

时间:2017-02-10 13:21:50      阅读:448      评论:0      收藏:0      [点我收藏+]

标签:ports   nbsp   yun   ubuntu   att   class   style   back   安装   

1.备份

cd /etc/apt
sudo cp sources.list sources.list.backup

 

 

2.用新的文件替换掉soures.list

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

 

3.更新

sudo apt-get update

 

  

更换 ubuntu16.04 安装源

标签:ports   nbsp   yun   ubuntu   att   class   style   back   安装   

原文地址:http://www.cnblogs.com/gabin/p/6385800.html

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