How to upgrade Debian 9 to Debian 10

To upgrade Debian 9 to Debian 10, first make sure your system is uptodate.

Edit file /etc/apt/sources.list. Find all occurance of “stretch” and replace it with “buster”.

Or use following

Now update the system

run dist-upgrade

During the upgrade, you will be asked to replace some of the configuration files. If this is a fresh server, you can always replace these files with newer version. If your server have these files modified, you should be careful as replacing these files will lose the changes you made.

Debian 10 upgrade

Reboot the server.

After reboot, you can verify server is running Debian 10 with commands

Debian 10

Add a Comment

Your email address will not be published. Required fields are marked *