tags: - raspbian - buster - bullseye categories: - informational comments: true
Upgrade raspbian from buster to bullseye. buster was released in 2019. pre change: backup files required that are not backed up or documented.
Reference: https://www.tomshardware.com/how-to/upgrade-raspberry-pi-os-to-bullseye-from-buster
sudo -i
tmux
apt update
apt dist-upgrade
apt autoremove
apt autoclean
reboot
grep -r buster /etc/apt/*
vi /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
vi /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ bullseye main
deb-src http://archive.raspberrypi.org/debian/ bullseye main
when prompted to restart services? Yes
keep existing configuration files when prompted: ‘keep currently installed version ? Yes or O’
apt update
apt dist-upgrade
apt autoremove
apt autoclean
reboot
If ssh access hangs, and there is no network or ssh access, restart, login via console and try ‘dpkg –configure -a’ If all fails, re-image bullseye onto sdcard and follow runbook/RFC to setup the device. Copy files from backup.
cat /etc/issue
Raspbian GNU/Linux 11 \n \l