Author: gaojinboTime: 2010-02-04Mail: admin@gaojinbo.com how to set the rapid debian source using apt-spy, can automatically test to which the download speed is the fastest, and automatically write the fastest source to the configuration file because the installation of the system is not apt-spy, so first find a source first install apt-spy1)
Author: gaojinbo
Time: 2010-02-04
Mail: admin@gaojinbo.com
How to set a quick debian source
With apt-spy, you can automatically test which source has the fastest download speed and automatically write the fastest source to the configuration file.
Since no apt-spy is installed on the system, find a source and install apt-spy first.
1) set a temporary source
Vi/etc/apt/sources. list
# Add the following line to the end of the file
Deb http://http.us.debian.org/debian stable main
2) update The Package List and install apt-spy
Apt-get update
Apt-get install apt-spy
3) automatically download the list and use apt-spy to test the fastest source
Apt-spy update
Apt-spy-d stable-a asia-t 3
4) view the generated configuration file, which is the fastest source
Cat/etc/apt/sources. list. d/apt-spy.list
5) delete temporary Source
Vi/etc/apt/sources. list
# Delete the following row
Deb http://http.us.debian.org/debian stable main
6) update The Package List
Apt-get update
Done!