Apt Mirror

We run our own mirror of the Ubuntu apt repositories.

This is located at apt.nuked.me. We use SSL for our mirror so you may need to install apt-transport-https beforehand. This is done by:
sudo apt install apt-transport-https

Configuration

This is only for Ubuntu 20.04, server and desktop. 64bit and 32bit packages. Changing the mirror to use is pretty straightforward:

cp /etc/apt/sources.list /etc/apt/sources.old
curl -o /etc/apt/sources.list https://apt.nuked.me/sources.list
apt-update

Here are the contents of the sources.list on apt.nuked.me:

deb https://apt.nuked.me/ubuntu focal main restricted universe multiverse
deb https://apt.nuked.me/ubuntu focal-security main restricted universe multiverse
deb https://apt.nuked.me/ubuntu focal-updates main restricted universe multiverse
deb https://apt.nuked.me/ubuntu focal-backports main restricted universe multiverse

If you want to use 64bit packages only, set it like this:

deb [arch=amd64] https://apt.nuked.me/ubuntu focal main restricted universe multiverse
deb [arch=amd64] https://apt.nuked.me/ubuntu focal-security main restricted universe multiverse
deb [arch=amd64] https://apt.nuked.me/ubuntu focal-updates main restricted universe multiverse
deb [arch=amd64] https://apt.nuked.me/ubuntu focal-backports main restricted universe multiverse

That’s all there is to it!