Home > sysadmin > Upgrade Debian Jessie to Strech

Upgrade Debian Jessie to Strech

June 24, 2017

The upgrade process is easy via the cli.
Just complete the following and answer any questions.
I let the system restart daemons automatically and kept original conf files.
This has worked on three Debian 8 systems without a hitch.

apt-get update
apt-get upgrade
apt-get dist-upgrade
cp /etc/apt/sources.list /etc/apt/sources.list_backup
sed -i ‘s/jessie/stretch/g’ /etc/apt/sources.list
apt-get update
apt list –upgradable
apt-get upgrade
apt-get dist-upgrade

After completing you can reboot and autoremove old packages.

Categories: sysadmin
%d bloggers like this: