Many times the unable to fetch somearchives error occurs when using the APT Install command, and we need to run the following apt update, but often there is a slow download situation
Here's a note to change the download source of apt to some source in the country to improve the speed
Method One:
Method:
1, modify the source address:
Cp/etc/apt/sources.list/etc/apt/sources.list.bak
Vim/etc/apt/sources.list
Add the following content (Zhong ke):
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-updates main restricted
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/precise-updates Main restricted
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise Universe
DEB-SRC Http://mirrors.ustc.edu.cn/ubuntu/precise Universe
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Universe
DEB-SRC Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Universe
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise Multiverse
DEB-SRC Http://mirrors.ustc.edu.cn/ubuntu/precise Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Multiverse
DEB-SRC Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe multiverse
DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe multiverse
Relatively fast source:
Sohu Source:
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
NetEase Source:
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
Update to see the speed:
sudo apt-get update
sudo apt-get upgrade
Method Two: Using the mouse interface to operate
Go to Ubuntu software Center
is also possible.
Better to do it again: Apt update
Modify apt download source under Linux