How to Upgrade Debian 9 Stretch to Debian 10 Buster

This video shows you the steps to upgrade Debian 9 Stretch to Debian 10 Buster on a VMware virtual machine installed on Windows 10.

How to Update Debian 9 Stretch to Buster 10

After more than two years of development, Debian’s new coded version, Buster, was released on July 6, 2019, and will be supported for five years.

This release comes with many new packages and major software updates. Debian 10 comes with the Linux 4.19 LTS kernel, uses the nftables framework as the default iptables backend, supports UEFI Secure Boot, and has enabled AppArmor by default.


1. Sudo User Access

The update process must be executed with superuser privileges. You must log on as root or as a user with sudo privileges.

2. Back Up Your Data

First, be sure to back up your data before you begin the main update of your operating system. If you are running Debian on a virtual machine, it is best to take a full snapshot of the system so that you can easily restore your machine if the setup is done incorrectly.

3. Update Installed Packages

Before starting the version update, it is recommended that you update all packages currently installed to their latest versions.

To upgrade Debian 9 to 10:

Step 1: Updating your old Debian computer to the new version 10 is simple. First of all, test your Internet connection and then open the terminal.

Step 2: Before you start updating your Linux system, you must edit the records in your repository.list file. To change the addresses on the repository from Stretch to Buster, first, switch to root with the su command at the terminal and then execute the following command.

sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list

Step 3: Run the following command on the terminal to update the packages on your Debian system to the new versions.

sudo apt-get update

Step 4: Now, after renewing the list of your packages, run the following command on the terminal to update your existing programs.

sudo apt-get upgrade

Step 5: After preparing your Debian 9 computer for the upgrade, run the following command on the terminal.

sudo apt-get dist-upgrade

Step 6: When prompted to restart services automatically during the upgrade, press the Enter key on the Yes option. The system update process may vary depending on the speed of your computer.

Step 7: After Debian upgrade, restart your computer and then check your system version using the cat /etc/os-release command on the terminal.

Step 8: Finally, you can check the Debian 10 Buster version from System Info!

   Related Articles

1. Kali Update
2. Ubuntu System Info
3. Ubuntu Chrome
4. Root Password
5. Wine Setup



In my personal blog, I will explain the solutions to the problems I encounter in the system, network, and information technologies for you. If you want to contact me or consult about a problem, you can send an e-mail to [email protected]