Step 1. Access to root
$ sudo su
Step 2. Back up the original update source
$CP/etc/apt/sources.list/etc/apt/sources.list.backup
Step 3. Modify the update source (sources.list the file that holds the update source)
$nano/etc/apt/sources.list
Delete all contents of sources.list, and copy all contents below to sources.list for replacement
(replace the original source with 163 of the source)
Deb Http://mirrors.163.com/ubuntu/trusty main restricted universe multiverse
Deb Http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverse
Deb Http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverse
Deb http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverse
Deb Http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/trusty main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverse
DEB-SRC http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse
Source of Zhong Ke
Deb Http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse
Deb http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse
Step 4: Let the updated source take effect
$sudo apt-get Update
Author:wsh
Email:tongzhuodenilove@163.com