The first thing the Ubuntu system has to do is replace it with the source of the update, because some of the source of the system is not accessible in China, and can be accessed in a very slow speed. Fortunately, some companies and universities in the country provide a good source of updates. Here's how to use a faster update source
1
To back up sources.list files:
sudo mkdir/etc/apt/bak
sudo cp/etc/apt/sources.list bak/
Open sources.list:
sudo gedit/etc/apt/sources.list 3
Modify Sources.list to replace all sources.list content with the following:
# UESTC (recommended by Education network users)
Deb Http://ubuntu.uestc.edu.cn/ubuntu/precise main restricted universe multiverse
Deb Http://ubuntu.uestc.edu.cn/ubuntu/precise-backports main restricted universe multiverse
Deb http://ubuntu.uestc.edu.cn/ubuntu/precise-proposed main restricted universe multiverse
Deb Http://ubuntu.uestc.edu.cn/ubuntu/precise-security main restricted universe multiverse
Deb Http://ubuntu.uestc.edu.cn/ubuntu/precise-updates main restricted universe multiverse
DEB-SRC http://ubuntu.uestc.edu.cn/ubuntu/precise main restricted universe multiverse
DEB-SRC http://ubuntu.uestc.edu.cn/ubuntu/precise-backports main restricted universe multiverse
DEB-SRC http://ubuntu.uestc.edu.cn/ubuntu/precise-proposed main restricted universe multiverse
DEB-SRC http://ubuntu.uestc.edu.cn/ubuntu/precise-security main restricted universe multiverse
DEB-SRC http://ubuntu.uestc.edu.cn/ubuntu/precise-updates main restricted universe multiverse
# China University of Science and Technology (recommended by users of Education network)
Deb Http://debian.ustc.edu.cn/ubuntu/precise main restricted universe multiverse
Deb Http://debian.ustc.edu.cn/ubuntu/precise-backports restricted universe Multiverse
Deb http://debian.ustc.edu.cn/ubuntu/precise-proposed main restricted universe multiverse
Deb Http://debian.ustc.edu.cn/ubuntu/precise-security main restricted universe multiverse
Deb Http://debian.ustc.edu.cn/ubuntu/precise-updates main restricted universe multiverse
DEB-SRC http://debian.ustc.edu.cn/ubuntu/precise main restricted universe multiverse
DEB-SRC http://debian.ustc.edu.cn/ubuntu/precise-backports main restricted universe multiverse
DEB-SRC http://debian.ustc.edu.cn/ubuntu/precise-proposed main restricted universe multiverse
DEB-SRC http://debian.ustc.edu.cn/ubuntu/precise-security main restricted universe multiverse
DEB-SRC http://debian.ustc.edu.cn/ubuntu/precise-updates main restricted universe multiverse
# Beijing Science and Technology (Education Network user recommended)
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-backports main Multiverse restricted universe
Deb http://mirror.bjtu.edu.cn/ubuntu/precise-proposed main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-security main Multiverse restricted universe
Deb Http://mirror.bjtu.edu.cn/ubuntu/precise-updates main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-backports main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-proposed main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-security main Multiverse restricted universe
DEB-SRC http://mirror.bjtu.edu.cn/ubuntu/precise-updates main Multiverse restricted universe
# 163 (Non-education network recommended)
Deb Http://mirrors.163.com/ubuntu/precise main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise Main restricted
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
Deb Http://mirrors.163.com/ubuntu/precise-security main restricted
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Main restricted
Deb Http://mirrors.163.com/ubuntu/precise-security Universe
DEB-SRC Http://mirrors.163.com/ubuntu/precise-security Universe
Deb Http://mirrors.163.com/ubuntu/precise-security Multiverse
DEB-SRC http://mirrors.163.com/ubuntu/precise-security Multiverse
Deb Http://extras.ubuntu.com/ubuntu Precise Main
Deb-src Http://extras.ubuntu.com/ubuntu Precise Main
# Sohu (recommended by non-education network)
Deb Http://mirrors.sohu.com/ubuntu/precise main restricted
DEB-SRC http://mirrors.sohu.com/ubuntu/precise Main restricted
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
Deb Http://mirrors.sohu.com/ubuntu/precise-security main restricted
DEB-SRC http://mirrors.sohu.com/ubuntu/precise-security Main restricted
Deb Http://mirrors.sohu.com/ubuntu/precise-security Universe
DEB-SRC Http://mirrors.sohu.com/ubuntu/precise-security Universe
Deb Http://mirrors.sohu.com/ubuntu/precise-security Multiverse
DEB-SRC http://mirrors.sohu.com/ubuntu/precise-security Multiverse
Deb Http://extras.ubuntu.com/ubuntu Precise Main
Deb-src Http://extras.ubuntu.com/ubuntu Precise main 4
Save changes to the source.list. 5
Update source information:
sudo apt-get update