One thing I can’t stand is waiting on software to download. I mean, I have a blazingly fast internet connection and I expect everything I do to be blazingly fast also. So, one thing I noticed was my backbox linux installation was taking forever to download updates. Looking into why, I noticed there were static addresses used in the /etc/apt/sources.list for ubuntu software repositories.
So here is how to fix it so that you always get the mirror closest to you: