Monthly Archives: April 2019

How to upgrade Debian 8 (Jessie) to 9 (stretch)

If you have an old Debian Jessie you would like to have upgraded to Debian Stretch then here is what i did to make it happend.

First take a snapshot of your filesystems, just to be safe….

Run the commands below, you may have to do some minor cleanup in your /apt/sources.d directory, there can be some duplicate entries with the name jessie in it. sed -i 's/jessie/stretch/g' /etc/apt/sources.list apt-get update apt-get upgrade apt-get dist-upgrade apt-get autoremove apt-get clean apt-get dist-upgrade -f