How to Upgrade Debian 10 to Debian 11

One of the advantages of the Debian operating system is easy to upgrade to the newer version.

Login to your Debian 10 server using SSH or console. Install all available software updates with the command

Remove any unused packages

Change /etc/apt/sources.list

Make a backup of the file

Edit the file /etc/apt/sources.list

In the file, change all “buster” entries to “bullseye”. You can do this manually or using sed command

Update System

Update repository cache with

Upgrade software with

Do a full-upgrade with

Now reboot system

After reboot, you need to make sure all services running properly, there is a chance some services won’t work as expected, in that case, you need to debug and fix i.

See Debian

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.