Ubuntu 12.04 LTS How to use a faster update source

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.