阅读背景:

ubuntu16.04 LTS把下载源改为阿里云的源

来源:互联网 
vim /etc/apt/sources.list 
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb
http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src
http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb
http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src
http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb
http://mirrors.aliyun.com/ubuntu/ xenial universe
deb
http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb
http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb
http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb
http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src
http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb
http://archive.canonical.com/ubuntu xenial partner
deb-src
http://archive.canonical.com/ubuntu xenial partner
deb
http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src
http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb
http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb
http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

分享到: