To configure Ubuntu systems to update from mirrors.iu13.net, you need to add mirrors.iu13.net to your
apt sources list.
This mirror provides binaries for amd64, i386, arm64, and armhf architectures.
To add mirrors.iu13.net to your sources, just download our sources.list file (more info).
. /etc/os-release && sudo curl -o /etc/apt/sources.list.d/mirrors.iu13.net.sources https://mirrors.iu13.net/html/ubuntu-sources/"${UBUNTU_CODENAME:-$VERSION_CODENAME}".sources && sudo apt update
You can review the contents here:
If you need to undo the changes, execute this command:
sudo rm /etc/apt/sources.list.d/mirrors.iu13.net.sources && sudo apt update
The script provided below automatically backs up your current apt sources list and adds entries for mirrors.iu13.net. It does not remove your current sources.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak && echo "$(cat /etc/apt/sources.list.bak | sed -n 's/http.*archive.ubuntu.com/https\:\/\/mirrors.iu13.net/p' | cat - /etc/apt/sources.list.bak)" | awk '!seen[$0]++' | sudo tee /etc/apt/sources.list && sudo apt update
If you need to undo the changes, execute this command:
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list && sudo apt update
If you just want to download the latest Ubuntu ISO, see ubuntu-releases instead.