Can’t update your Raspberry Pi? Try this…

I had a few spare minutes so decided to check on the update status of my Raspberry Pi’s. I found updates have stalled due to a connection issue to archive-bm.raspbian.org

sure enough I could not ping by name, after checking I had outbound connectivity.

To get round this, I added an entry to the sources.list file in /etc/apt/ choosing a mirror repo from the official source list. I hashed out the current line and added this

deb http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ buster main contrib non-free rpi
#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

I could then run the usual

sudo apt update
sudo apt upgrade

Hope it helps someone else until the issue with the original archive site can be resolved.

Related Post

Leave a Reply