Debian 9 -Stretch
Posted: 31 Oct 2018, 18:53
It is time to upgrade my good old Debian 8 (Jessie) to Debian 9 (Stretch).
First I updated my Debian 8
Then I checked my Debian version with or and it was Debian 8.11.
So basically I need the debian 9 repos and I found me a magical command to fix them:
As root:
This should set my mirrors to Debian 9 so the next thing is to do a and (both as root).
Now it is time to check the Debian version again and true enough:
So far so good
TIme to reboot then .... 
Success! Debian lives up to its rock solid reputation: Everything is there and I have not noticed anything peculiar
--what's changed you say?
Have a look here
First I updated my Debian 8
Then I checked my Debian version with
Code: Select all
cat /etc/issue Code: Select all
cat /etc/os-releaseSo basically I need the debian 9 repos and I found me a magical command to fix them:
As root:
Code: Select all
sed -i 's/jessie/stretch/g' /etc/apt/sources.listThis should set my mirrors to Debian 9 so the next thing is to do a
Code: Select all
apt-get updateCode: Select all
apt-get upgradeNow it is time to check the Debian version again
Code: Select all
cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
So far so good
Success! Debian lives up to its rock solid reputation: Everything is there and I have not noticed anything peculiar

--what's changed you say?
Have a look here
