Page 1 of 1

Debian 9 -Stretch

Posted: 31 Oct 2018, 18:53
by viking60
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

Code: Select all

cat /etc/issue

Code: Select all

cat /etc/os-release
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:

Code: Select all

sed -i 's/jessie/stretch/g' /etc/apt/sources.list

This should set my mirrors to Debian 9 so the next thing is to do a

Code: Select all

apt-get update

Code: Select all

apt-get upgrade
(both as root).

Now it is time to check the Debian version again

Code: Select all

cat /etc/os-release
and true enough:
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION="9 (stretch)"

So far so good :whistle: TIme to reboot then .... :pray:



Success! Debian lives up to its rock solid reputation: Everything is there and I have not noticed anything peculiar :s

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