- First, make sure that your current system is up-to-date by running the following command:
sudo apt-get update && sudo apt-get upgrade
- Then, backup all important data and configurations from your current system.
- Next, run the following command to upgrade your system to Debian 10:
sudo apt-get install -y upgrade
- Now, Run the following command to change the release name in /etc/apt/sources.list file
sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list
- Finally, run the following command to upgrade your system to Debian 10:
sudo apt-get update && sudo apt-get dist-upgrade
- After the upgrade process is completed, you can reboot your system for the changes to take effect.
- Finally run the following command to check the version of your Debian
cat /etc/issue
Please note that, there may be some other additional steps required if you have custom configurations or software installed on your system. So, it’s highly recommended to take a backup of all important data before upgrading.