A gem was found during my google search. Not much known as it said(at least during this writing),but works damn good.
This mirror method will automatically select the fastset mirror during apt update
. based on your location.
tested and running well on Ubuntu Server 18.04
-
First, open
/etc/apt/sources.list
with a text editor.sudo nano /etc/apt/sources.list
-
insert on top of the source list such as this:
deb mirror://mirrors.ubuntu.com/mirrors.txt distribution component1 component2 component3
for example:
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse
and change it according to your specification. Assuming you're already familiar with
sources.list
anatomy. -
Save the file and do:
sudo apt update
on terminal.
Enjoy the automatic fastest mirror update.
Very much thanks to Michael Vogt's blog