There are various reasons why you might want to do this, one of these is that sometimes Raspberry Pi’s mirror director can pick a slow mirror for your connection which can significantly slow down the updating process.
Knowing how to change the Raspbian repository mirror can also help out if the Raspberry Pi’s mirror director goes offline.
The Raspbian maintainers provide a list of verified package mirrors that synchronize themselves with the central repository at least twice a day.
The list of verified package mirrors makes it easy to select one that is both safe and reliable.
As the title of this tutorial suggests, you will need to be running Raspbian, I suggest the latest version. Any other operating system and instructions for changing the repository mirror might be different.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey