FAQ: How to select fastest APT server in Debian

debian swirl logoQuestion: I want to select APT repository server/mirror that is fastest for my location. How can I do it in Debian?

Answer: You can use application named as “netselect-apt” to get new sources.list file with fastest APT mirror. Install this application by command "sudo aptitude install netselect-apt" and run it in accordance with Debian distribution you use (Debian Etch in our example):

sudo netselect-apt -n etch -o /etc/apt/sources.list
sudo apt-get update

P.S. By the way, in Ubuntu you can do the same in a few clicks.


Stefan Durand

My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

Leave a Reply

Your email address will not be published. Required fields are marked *