Method:
1, modify the source address:
cp /etc/apt/sources.list /etc/apt/sources.list.bak
vim /etc/apt/sources.list
Add the following content (Zhong ke):
deb http://mirrors.ustc.edu.cn/ubuntu/precise-updates main restricted
DEB-SRC/http Mirrors.ustc.edu.cn/ubuntu/precise-updates main restricted
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise Universe
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise Universe
Deb http://mirrors.ustc.edu.cn/ubuntu/ Precise-updates Universe
deb-src http://mirrors.ustc.edu.cn/ubuntu/precise-updates Universe
Deb/http Mirrors.ustc.edu.cn/ubuntu/precise Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/ Precise-updates Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted Universe Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe Multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
Relatively fast source:
Sohu Source:
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ precise universe
deb-src http://mirrors.sohu.com/ubuntu/ precise universe
deb http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb http://mirrors.sohu.com/ubuntu/ precise multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
NetEase Source:
Deb http://mirrors.163.com/ubuntu/precise-updates main restricted
Deb-src http://mirrors.163.com/ Ubuntu/precise-updates main restricted
Deb Http://mirrors.163.com/ubuntu/precise Universe
Deb-src/http/ Mirrors.163.com/ubuntu/precise Universe
Deb Http://mirrors.163.com/ubuntu/precise-updates universe
Deb-src Http://mirrors.163.com/ubuntu/precise-updates Universe
Deb Http://mirrors.163.com/ubuntu/precise Multiverse
Deb-src http://mirrors.163.com/ubuntu/precise Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb-src http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb http://mirrors.163.com/ Ubuntu/precise-backports main restricted universe multiverse
Deb-src http://mirrors.163.com/ubuntu/ Precise-backports main restricted universe Multiverse
Update to see the speed:
sudo apt-get update
sudo apt-get upgrade
This article is from the "Operation and maintenance House (Q Group: 1991706)" blog, please be sure to keep this source http://304076020.blog.51cto.com/7503470/1566328
Ubuntu configuration apt-get Download source