Some time ago i decided that i want to use Stretch instead of stable, so i run Debian Jessie installer from pendrive, formated the drive, installed the system without selecting anything (like DE, system tools etc.), after installation i changed my sources.list to this:
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST Binary-1 20160917-14:20]/ jessie main
deb http://ftp.uk.debian.org/debian/ testing main
deb-src http://ftp.uk.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
# jessie-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ testing-updates main
deb-src http://ftp.uk.debian.org/debian/ testing-updates main
Code: Select all
1. apt-get update && apt-get upgrade
2. apt-get dist-upgrade
Is it the correct way to do that?
I'm studying the Debian docs right now, and it says that to upgrade all is needed is to change third line.
And another question, when Stretch becomes stable, my system will upgrade and i will track next stretch release, which i want to avoid, after stretch->stable i just want to stay on stable, is it possible to do?
Thanks in advance