Upgrading Debian 10 to Debian 11 Bullseye using the command line interface (CLI) involves several steps:
- Make sure your system is up-to-date by running:
sudo apt update && sudo apt upgrade
- Backup your important data and configuration files, it’s always a good idea to have a backup before upgrading.
- Edit the sources list file
/etc/apt/sources.list
and replace all instances of “buster” with “bullseye” - Update the package lists by running:
sudo apt update
- Upgrade your system by running:
sudo apt dist-upgrade
- After the upgrade is complete, reboot your system by running:
sudo reboot
The upgrade process may take some time depending on the number of packages and the speed of your internet connection.
Please note that this is just a basic setup, in order to use it in production environment you should consider security and performance configurations. It’s always a good idea to check the Debian website for the latest version and upgrade instructions.
It’s also recommended to read the release notes before upgrading to understand the changes and potential issues of the new version. Please note that this upgrade path is not officially supported, and that it might take extra steps and troubleshooting to complete the upgrade. It’s recommended to check the Debian website for more information about upgrade paths for different versions.