Till the date of this post, the Raspberrypi foundation has not released their Bullseye image. To date their latest release is Buster. Then how I got Bullseye shown in screenshot above? Please see below to know:
Wrote following image to microSD card
2021-05-07-raspios-buster-arm64-lite.img .
Slipped microSD care in RPi Model 4, powered up and performed the following steps:
NOTE:
Later, instead of above 64-bit image, I used normal 32-bit Raspberry Pi OS Buster image:
2021-05-07-raspios-buster-armhf-lite.zip
However in this 32-bit image, in file /etc/apt/sources.list
, I had to comment-out all lines pointing to raspbian.raspberrypi.org
, and copy-paste 3 lines given below pointing to deb.debian.org
:
deb [trusted=yes] http://deb.debian.org/debian bullseye main contrib non-free
deb [trusted=yes] http://deb.debian.org/debian-security/ bullseye/updates main contrib non-free
deb [trusted=yes] http://deb.debian.org/debian bullseye-updates main contrib non-free
CAUTION:
Do NOT use this method on Piaware SD Card image, or on an existing Buster image with piaware, dump1090-fa or dump978-fa already installed. Most likely it will break your system. Use this method on a freshly written Buster image, and AFTER upgrade to Bullseye, install piaware, dump1090-fa & dump978-fa using bash-scripts given in next post of this thread.
(1) Opened the sources.list file for editing:
sudo nano /etc/apt/sources.list
It contained following lines:
deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
(2) Edited these line and replaced buster
with bullseye, and added
[trusted=yes]`
The lines became like this:
deb [trusted=yes] http://deb.debian.org/debian bullseye main contrib non-free
deb [trusted=yes] http://deb.debian.org/debian-security/ bullseye/updates main contrib non-free
deb [trusted=yes] http://deb.debian.org/debian bullseye-updates main contrib non-free
(3) Saved and closed the file.
(4) Updated:
sudo apt update
(5) Upgraded:
sudo apt dist-upgrade
Above command resulted in a very lengthy upgrade process (about 45 minutes). Had to be patient.
In between upgrade process:
- It gave some info about apt, and stopped with a line having only colon (
:
).
Exited this by pressingq
key. - It asked if you want to stop services without asking with No button highlighted red. Changed to Yes highlighted red and pressed Enter to proceed.
- it asked if I want to keep existing configurations, and default is to keep (N). Typed N and pressed Enter key to accept “keep”.
(6) When upgrade completed, rebooted RPi to apply the changes.
sudo reboot
(7) After reboot, used following command to remove the packages which were automatically installed and are no longer required.
sudo apt autoremove