in this quick guide we learn How to upgrade Debian 10 Buster to Debian 11 Bullseye, Debian 11 “Bullseye” was released on August 14, 2021. and the previous Debian 10 “Buster” has been moved to the “oldstable” branch and will receive security updates until 2024. If your Debian 10 is working fine and you don’t need to upgrade to a higher version 11, update all packages regularly.
However, if you want to upgrade Debian 10 to 11, then there is nothing to prevent you from doing so.
How to upgrade Debian 10 Buster to Debian 11 Bullseye
Before upgrade Debian 10 to 11, First just in case, make a backup of your data and place it on another disk, partition or medium.
Then change the repositories by editing the sources.list file with any text editor such as nano:
sudo nano /etc/apt/sources.list
which after the change should look like below:
deb http://deb.debian.org/debian bullseye main deb-src http://deb.debian.org/debian bullseye main deb http://deb.debian.org/debian-security/ bullseye-security main deb-src http://deb.debian.org/debian-security/ bullseye-security main deb http://deb.debian.org/debian bullseye-updates main deb-src http://deb.debian.org/debian bullseye-updates main
How to Fix recovering journal Error on Ubuntu boot up
If you are using the contrib and non-free repositories, sources.list should look like this:
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
If you want to use additional backports repositories, add to your sources.list:
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
EasyWSL allows to use any distro in the Windows Subsystem for Linux
If you are using additional deb-multimedia repositories, also add:
deb http://deb-multimedia.org/ bullseye main non-free
Save the sources.list file and refresh the package list:
sudo apt update
Now do the update:
sudo apt full-upgrade
or
sudo apt-get dist-upgrade
If something goes wrong, try to repair the damaged packages:
sudo dpkg --configure -a
elementary OS 6 Odin Available to Download Now
After completing the entire update process, restart the system:
sudo reboot
Conclusion :
In this tutorial, we learned How to upgrade Debian 10 Buster to Debian 11 Bullseye, if you’re facing any issue during Debian 11 upgrading you can use comment section,
1 Comment
Pingback: How to upgrade Debian 10 Buster to Debian 11 Bullseye – itsrockylinux