Netselect-Apt, A Utility Some Debian Users Never Heard Of

I’ve been using Debian for quite a long time and most people just use the default mirrors that come with Debian’s /etc/apt/sources.list but if you live overseas, using the official Debian mirrors in the United States may be slow for you.

To resolve this, netselect-apt is an application that downloads the official Debian mirror lists and finds out which one is geographically closest to you and creates you a brand new sources.list for your /etc/apt directory.

Installation is easy:

apt-get install netselect-apt
(wait for it to finish)
mv sources.list /etc/apt/sources.list
apt-get update

Now, you would have mirrors to the closest Debian mirror near you which would have the best download speeds. So, for instance, you try to do a huge apt-get dist-upgrade – this would make the download much faster.