Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Debian 9 - Use UK Mirror

If you are UK based and you notice that your Debian 9 server is updating from the US mirror or elsewhere, you may wish to change it to pull from the UK to speed things up.

To do this edit your sources file:

sudo editor /etc/apt/sources.list

Then fill it with the following:

deb http://ftp.uk.debian.org/debian/ stretch main
deb-src http://ftp.uk.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ stretch-updates main
deb-src http://ftp.uk.debian.org/debian/ stretch-updates main