The new upcoming release of Debian 11 codenamed Bullseye is scheduled to be released on August 14, 2021. The upgrade that has been in testing for the past few years brings updates to many well-known packages such as LibreOffice being upgraded to version 7.0, GNUcash being upgraded to 4.4, and new driverless scanning and printing amongst a range of many new features.
Debian 11 supports the following Architectures:
- 32-bit PC (i386) and 64-bit PC (amd64)
- 64-bit ARM (arm64)
- ARM EABI (armel)
- ARMv7 (EABI hard-float ABI, armhf)
- little-endian MIPS (mipsel)
- 64-bit little-endian MIPS (mips64el)
- 64-bit little-endian PowerPC (ppc64el)
- IBM System z (s390x)
In the following tutorial, you will learn how to successfully upgrade Debian 10 Buster to Debian 11.
Table of Contents
- Recommended OS: Debian 10 Buster.
- User account: A user account with sudo or root access.
- Required: Internet Connection
Before upgrading your Debian 10 Buster operating system, it is a good idea to make sure it is up to date with the following terminal command:
sudo apt update && sudo apt upgrade -y
Before you go further, use the CAT command to see the version of Debian you have currently:
Note, you can use the same command after the complete upgrade to Bullseye to verify the update.
Update Operating System
Update your Debian operating system to ensure all existing packages are up to date.
sudo apt update && sudo apt upgrade -y
The tutorial will be using the sudo command and assuming you have sudo status.
To verify sudo status on your account:
Example output showing sudo status:
[joshua@debian~]$ sudo whoami root
To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Debian.
Use the following command with the root password to log in to use the root account.
For users that have sudo access, this can be skipped.
Add Debian 11 Bullseye Repository
To update and change the Debian 10 Buster repository with Debian 11 Bullseye repository to download and receive the new release, you must modify some configuration files.
First, open up using nano text editor the (sources.list) configuration file:
sudo nano /etc/apt/sources.list
Now you need to comment out all the existing entries for Debian Buster, and this is done by adding (#) at the start of each line like the example below:
Now that you have commented out the (deb HTTP) and (deb-src) Debian Buster repositories, add at the end of the file the following lines to add Debian 11 Bulleye repository as follows:
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://security.debian.org/debian-security bullseye-security main contrib non-free deb-src http://security.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 deb http://ftp.debian.org/debian bullseye-backports main contrib non-free deb-src http://ftp.debian.org/debian bullseye-backports main contrib non-free
To save the files in nano text edit, press the combination on your keyboard (CTRL+O) to save (CTRL+X) to exit the text editor.
Note, if you want to enable the experimental branch to install the newest packages from upstream, add the following line to your sources.list file above:
deb http://deb.debian.org/debian experimental main contrib non-free deb-src http://deb.debian.org/debian experimental main contrib non-free
This will not interfere with your normal Debian 11 upgrade, and it is for future reference if you want to install things like the new Gnome 40 desktop, etc.
This is 100% optional and should only be added if you intend to use the feature.
Upgrade to Debian 11 Bullseye
The next step is to update your repository list to reflect the new changes and then to run the full command (full-upgrade) terminal command to begin the upgrade process as follows:
sudo apt update && sudo apt full-upgrade
Type (Y) to proceed with the installation.
During the installation, you will encounter a pop-up with (apt-list) changes. To proceed and exit this screen, type (Q):
Next, another pop-up will ask if you would like to restart the services during the upgrade process. The default answer is no. However, it would be best if you selected yes. Choose your operation and press the ENTER key to continue:
You will need to make sure the screen doesn’t get locked or into sleep mode during the upgrade process. Also, make up any essential files you cannot afford to lose.
The upgrade process should take 5 to 10 minutes, depending on the system hardware and internet connection.
Once complete, it is advised to reboot your Debian system as most of the new changes require this to take effect. Type the following terminal command to achieve this:
Upgrade Post Installation Check
Now that the upgrade process is complete, a good idea would be to check with the CAT command again as per the start of the tutorial to see the Debian operating version and build as follows:
Example output confirming the upgrade:
Cleaning up Debian 10 Obsolete Packages
The good idea is to clean your Debian 11 system by removing old obsolete packages that are now leftover from your successful upgrade and are not needed anymore.
You will do this with the (autoremove) command as follows:
sudo apt --purge autoremove
Some reports have emerged of users encountering upgrade troubles with Nvidia drivers, and it is now advised to remove these as follows:
sudo apt remove *nvidia*
Comments and Conclusion
In the tutorial, you have successfully learned how to upgrade your Debian 10 Buster operating system to Debian 11 Bullseye. As mentioned at the start of the guide, Bullseye is officially not out as stable yet but will be in August.
Overall, the new Debian Bullseye has a huge range of upgrades given a long time between Debian stable being 2 years standard. You will notice many new features and upgrades to many packages.
Unlike other Linux Distributions, Debian classes itself as stability over everything, so it is definitely worth the time to do. You should not encounter too many bugs even with the release being new, as it’s been in testing for quite an extensive amount of time.
Check out more features and what’s new in Debian 11 Bullseye, and check out the official Debian release highlights.