The default source of Ubuntu is the official update server located in Europe (China is slow, but there is no synchronization latency problem). Now many colleges and universities have activated IPv6, and there is no traffic fee for IPv6, ubuntu has many image sites that support IPv6, so we can manually set the Ubuntu source to achieve the purpose of no traffic updates, and the speed is faster. First, back up the source list: sudocp/etc/apt/sources. list/etc/apt/sources. list_backup and then use gedi
The default source of Ubuntu is the official update server located in Europe (China is slow, but there is no synchronization latency problem). Now many colleges and universities have activated IPv6, and there is no traffic fee for IPv6, ubuntu has many image sites that support IPv6, so we can manually set the Ubuntu source to achieve the purpose of no traffic updates, and the speed is faster.
First, back up the source list:
Sudo cp/etc/apt/sources. list/etc/apt/sources. list_backup
Then open it in gedit or another Editor:
Gksu gedit/etc/apt/sources. list
Select the source of the open source image site of Tsinghua University, replace all the content in the file, and save the edited file:
Tsinghua University Update Server, IPv6-Only address (for Ubuntu 12.04)
Deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise main restricted universe multiverse
Deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-security main restricted universe multiverse
Deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
Deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
Deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
Deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise main restricted universe multiverse
Deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-security main restricted universe multiverse
Deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
Deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
Deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
Then, refresh the list. Note: You must refresh the list.
Sudo apt-get update