In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
How to upgrade to Debian Linux 9 (stretch)Ástþór IP
1. Update all packages currently installed to the latest versions
2. Replace all occurrences of jessie with stretch in the apt sources file /etc/apt/sources.list using your favorite text editor (ex. pico /etc/apt/sources.list).
Here’s an example of what the file could look like after the change:
deb http://ftp.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main
Alternatively you can use the sed command to replace the reference to the repository:
sed -i 's/jessie/stretch/g' /etc/apt/sources.list
3. Update the apt package index
4. Upgrade all packages
5. Once all packages are upgraded, restart the system
Your system has now been upgraded to Debian Linux 9 (Stretch)