from:http://blog.csdn.net/minicto/article/details/62240020Ubuntu system default source changed to Ali
Ubuntu default use of foreign sources, at the time of the update will be very slow, you can use the domestic Ali source, fast.
Execute the following command sequentially,
cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份sudo vim /etc/apt/sources.list #修改sudo apt-get update #更新列表
Ali's source, as below,
Deb Http://mirrors. Aliyun. com/ubuntu/trusty Main restricted universe Multiversedeb http://mirrors. Aliyun. com/ubuntu/trusty-security Main restricted universe Multiversedeb http://mirrors. Aliyun. com/ubuntu/trusty-updates Main restricted universe Multiversedeb http://mirrors. Aliyun. com/ubuntu/trusty-proposed Main restricted universe Multiversedeb http://mirrors.aliyun.com/ubuntu/trusty-backports main Restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiversedeb-src Http://mirrors.aliyun.com/ubuntu/trusty-security main restricted universe MULTIVERSEDEB-SRC http://mirrors.aliyun.com/ Ubuntu/trusty-updates main restricted universe multiversedeb-src http://mirrors.com/ubuntu/trusty-proposed main restricted universe multiversedeb-src http:/ /mirrors.aliyun.com/ubuntu/trusty-backports Main restricted universe multiverse
Then execute, as below,
apt-get update
You can see the details of the following update process,
Get:Http://mirrors. Aliyun. com Trusty-backports/multiverse Translation-en [1,215 B]Get:Http://mirrors. Aliyun. com trusty-backports/restricted Translation-en [(B]Get:Http://mirrors. Aliyun. com Trusty-backports/universe Translation-en [36.8 KB]Get:Http://mirrors. Aliyun. com trusty Release [58.5 KB]Get:Http://mirrors. Aliyun. com Trusty/main Sources [1,064 KB]Get:Http://mirrors. Aliyun. com trusty/restricted Sources [5,433 B]Get:Http://mirrors. Aliyun. com Trusty/universe Sources [6,399 KB]Get:Http://mirrors. Aliyun. com Trusty/multiverse Sources [174 KB]Get:Http://mirrors. Aliyun. com trusty/main AMD64 Packages [1,(KB]Get:Http://mirrors. Aliyun. com trusty/restricted AMD64 Packages [13.0 KB]Get:Bayi Http://mirrors. Aliyun. com trusty/universe AMD64 Packages [5,859 KB]Get:Http://mirrors. Aliyun. com trusty/multiverse AMD64 Packages [KB]Get:Http://mirrors. Aliyun. com Trusty/main i386 Packages [1,348 KB]Get:Http://mirrors. Aliyun. com trusty/restricted i386 Packages [13.4 KB]Get:Http://mirrors. Aliyun. com trusty/universe i386 Packages [5,866 KB]Get:Http://mirrors. Aliyun. com trusty/multiverse i386 Packages [134 KB]Get:Http://mirrors. Aliyun. com Trusty/main Translation-en [762 KB]Get:Http://mirrors. Aliyun. com Trusty/multiverse Translation-en [102 KB]Get:Http://mirrors. Aliyun. com trusty/restricted Translation-en [3,457 B] Get:http://mirrorsaliyun.com trusty/universe translation-en [4,089 KB] IGN http://mirrors. Aliyuncom trusty/main translation-en_us Ign http://mirrors. Aliyun.com trusty/ Multiverse Translation-en_us IGN http://mirrors. Aliyun. com trusty/restricted translation-en_us IGN/http Mirrors. Aliyun. com trusty/universe translation-en_us
The description has been updated with Ali.
Ubuntu system default source changed to Ali