红联Linux门户
Linux帮助

Ubuntu 17.04镜像快速源推荐

发布时间:2017-05-09 09:31:10来源:linux网站作者:linux人
以下推荐比较快速的Ubuntu 17.04更新源,供大家参考学习。
 
首先在系统中编辑/etc/apt/sources.list文件(sudo nano /etc/apt/source.list),在该文件的最前面添加下面源信息:
 
deb http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse
 
然后运行命令:sudo apt-get update &&sudo apt-get upgrade&& sudo apt-get dist-upgrade
 
注:如果要覆盖/etc/apt/sources.list文件请先作好备份。
 
参考文章
Ubuntu更新Source.list源:http://www.linuxdiyf.com/linux/22170.html
 
本文永久更新地址:http://www.linuxdiyf.com/linux/30627.html