How to Upgrade Debian 10 Buster to 11 Bullseye Linux – Linux Shout

Although while writing this tutorial the Debian 11 Bullseye was in RC1 state, however, it doesn’t matter you can use the steps given here even to upgrade Debian 10 Buster to 11, once you have the stable release…
We have tried to make the tutorial- how to upgrade Debian 10 to 11 as simple as possible. Here, we have simply changed the repository to perform the upgrading process. Well, while performing the steps given here we didn’t face any problem but we recommend you backup your system before following this article.
Contents
The first thing which we need to follow is ensuring that all the pre-installed packages are up to date and if any upgrade is available for them that must be installed. Open your command terminal and run the following command-
Also, install-
Check System’s current version.
Buster version check
 
Next, we edit the source list file of Debian 10 and will replace the existing repository addresses with Debian 11  ones:
Disable all the existing entries for Buster by adding the # sign in front of each repo link.
Disable Buster Source repo sources list
 
Now, at the end of the file, copy-paste the following URLs list.
Save the file by pressing Crtl+X, Y, and hit the Enter key.
Add bullseye repo on debian 10 buster
 
To let the system recognize the newly added Repo URLs, run the system update command-
If you don’t get any error after updating, then you can move further.
system update command
 
Finally, run the system full system upgrade command that will upgrade all the existing packages to transit your old  Debian Buster system to the latest LTS Bullseye.
Follow the intermittent text wizards to set default things, when the system starts processing upgrades.
Give the system permission to download and install the required packages. Note: Make sure the system screen wouldn’t get locked while the upgrading process.
 
Once the Debian 10 upgrading process is completed, reboot your system.
 
Now, let’s check which version we have on our system now, for that run-
You will see the output:
Check upgrader Debian 10 version Linux 11 Bullseye system upgrade interface
 
Other articles-
 
Debian

Debian

Debian

Linux

sudo apt install gcc-8-base, why that?
https://unix.stackexchange.com/questions/592657/full-upgrade-to-debian-testing-fails-due-to-libc6-dev-breaks-libgcc-8-dev Since Bullseye is the testing version currently,gcc 8 base is important.The first 3 lines is the link to your answer
Why sudo command to restart?
And shouldn’t that be shutdown -r
rather than reboot?
It should be sudo systemctl reboot. That way everything shuts down gracefully
Well blow me down, learnt a command, please ignore my comment (and my ignorance) regarding shutdown -r as I was totally unaware that reboot can be used.
This will save my fingers some wear in future, please accept my thanks 🙂
“Note: Make sure the system screen wouldn’t get locked while the upgrading process.” What to do if that happens???
Wait for some time the process would get completed in the background. Or restart the system and run the upgrade command again.








This site uses Akismet to reduce spam. Learn how your comment data is processed.
Linux Shout crafted as a part of our main portal H2S Media to publish Linux related tutorials and open source Software.

source

We will be happy to hear your thoughts

Leave a reply

LINXGO
Logo
Compare items
  • Total (0)
Compare