As of Debian 8, upgrading a Debian installation to the next major version number works quite smoothly. Depending on the speed of the server and the duration of the reboot, an upgrade is usually completed in under 15 minutes.
Always upgrade Debian Linux from one version to the next higher, do not skip versions!
To upgrade a server from Debian 8 to Debian 10, you must first upgrade from 8 to 9 and then from 9 to 10. Reboot the server after each upgrade!
Follow the steps below to upgrade:
/etc/apt/sources.list.d/liveconfigfor the LiveConfig PHP repository in the same way
apt install apt dpkg
apt full-upgrade. While running, you will be asked whether some existing configuration files should be replaced - in most cases it is better to keep the existing configuration (answer with no).
apt-get autoremoveto remove all packages that are no longer required
Currently we’re not aware of any problems. If you have any issues, please let us know so we can update this article accordingly.
Additionally you may have a look at the possible problems while upgrading Debian 8 to 9.
Some things have changed with Debian Buster (see What’s new in the Buster release?). The major changes are:
rootuser by using the
PATHvariable will not be altered any more to contain
/usr/sbin! The workarounds are:
su -instead (add a dash), this launches a new login shell
sudo(like on Ubuntu ;-)
/etc/login.defsto get the “old” behaviour back
/lib*will be installed in their
/usrcounterpart by default.
/lib*will be soft-links pointing to
/usr/...- see Debian manual.