How to change Raspbian default apt-get mirror?
Matthew Barrera
The thing is the mirror that was configured on installation is causing checksum mismatch in all packages.
I read everywhere that in order to change de mirror apt-get uses for download I have to edit /etc/apt/sources.list or /etc/apt/source.list.d/raspi.list.
The problem is both these files already have a different mirror than the one apt-get install is actually using.
They have the mirror. But when I run apt-get install it goes to a different one.
So, if not from this files. Where can apt-get be taking the mirror URL from?
1 Answer
I finally have it working. I just had to replace the url in the sources.list file, even though that URL wasn't the one where it was downloading the packages from. It seems like was doing some kind of dynamic assignment based on my location.