Choosing the fastest Mirror on Debian


On Debian there's a tool that finds out which is the fastest/nearest mirror and creates a sources.list file for you: netselect-apt

The installation:

apt-get update
apt-get install netselect-apt

To find the fastest/nearest mirror:

netselect-apt

Backup your old sources.list:

mv /etc/apt/sources.list{,.bak}

Replace it with the new one:

cp sources.list /etc/apt/sources.list

Update and install your packages:

apt-get update
...