Beginner's Guide

How to upgrade Debian 10 Buster to Debian 11 Bullseye

Pinterest LinkedIn Tumblr

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 bullseye main deb-src bullseye main deb bullseye-security main deb-src bullseye-security main deb bullseye-updates main deb-src 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 bullseye main contrib non-free
deb-src bullseye main contrib non-free
deb bullseye-security main contrib non-free
deb-src bullseye-security main contrib non-free
deb bullseye-updates main contrib non-free
deb-src bullseye-updates main contrib non-free

If you want to use additional backports repositories, add to your sources.list:

deb bullseye-backports main contrib non-free
deb-src 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 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


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,

Write A Comment

Exit mobile version