1. First back up the ubuntu12.04 source list
Sudo CP/Etc/APT/sources. LIST/etc/APT/sources. List. Backup (backup the current source list)
2. Modify the update source
SudoGedit/etc/APT/sources. List (Open Ubuntu12. 04 source list files)
3. Replace the list in with the following list.
163 Source
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 Source
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
Ubuntu.cn99.com source (recommended ):
Deb http://Ubuntu.cn99.com/ubuntu/ precise main restricted universe multiverseDeb http://Ubuntu.cn99.com/ubuntu/ precise-Updates main restricted universe multiverseDeb http://Ubuntu.cn99.com/ubuntu/ precise-security main restricted universe multiverseDeb http://Ubuntu.cn99.com/ubuntu/ precise-backports main restricted universe multiverseDeb http://Ubuntu.cn99.com/ubuntu-cn/ precise main restricted universe multiverse
Educational network source
If you are a college student, you can use the Campus Network/education network, that is, use the resources of education network, especially for IPv6 support, then the update speed will be calculated by megabytes.
# University of Electronic Science and Technology
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
# Emy of Science and Technology
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 Institute of Technology
Deb http: // 2.16.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe Deb http: // 2.16.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe Deb http: // 2.16.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe Deb http: // 2.16.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe Deb http: // 2.16.bjtu.edu.cn/ubuntu/ precise-Updates main multiverse restricted universe Deb-Src http: // 2.16.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe Deb-Src http: // 2.16.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe Deb-Src http:// 2.16.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe Deb-Src http: // 2.16.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe Deb-Src http: // 2.16.bjtu.edu.cn/ubuntu/ precise-Updates main multiverse restricted universe
4. Update Source
SudoApt-Get update