Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Jessie to Stretch

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Jessie to Stretch

#1 Post by pawRoot »

Hi

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
Then what i did:

Code: Select all

1. apt-get update && apt-get upgrade 
2. apt-get dist-upgrade
Then installed all necessary packages, like xorg, gnome-core etc.
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

User avatar
eor2004
Posts: 251
Joined: 2013-10-01 22:49
Location: Puerto Rico
Has thanked: 4 times
Been thanked: 5 times

Re: Jessie to Stretch

#2 Post by eor2004 »

Hi, if you want to stay with "Stable" branch and not with "Testing" you need to edit your "Sources.list" as follows:

For example, instead of this:
deb http://ftp.uk.debian.org/debian/ testing main
deb-src http://ftp.uk.debian.org/debian/ testing main

it should be this:
deb http://ftp.uk.debian.org/debian/ stretch main
deb-src http://ftp.uk.debian.org/debian/ stretch main

"Stretch" right now is "Testing", but soon it will become the New "Stable" version of Debian, so if you leave "Testing" instead of "Stretch", you'll keep following Testing and not "Stable" hope this helps to clarify any doubts, good luck!
Last edited by eor2004 on 2017-01-20 23:36, edited 2 times in total.
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Jessie to Stretch

#3 Post by pawRoot »

What i meant is that i want to receive Stretch packages until it becomes stable, once Stretch becomes stable, i want to be on stable :D

I'm just afraid i might start tracking next stretch release in future, and there is no option to downgrade (safe one at least)

User avatar
eor2004
Posts: 251
Joined: 2013-10-01 22:49
Location: Puerto Rico
Has thanked: 4 times
Been thanked: 5 times

Re: Jessie to Stretch

#4 Post by eor2004 »

The next Debian that will become "Stable" in the future after "Stretch" will be called "Buster", and the next after "Buster" will be called "Bullseye".

Again, if you leave "Stretch" you'll be tracking "Stable", when "Buster" becomes the New "Stable" in the future after "Stretch", you'll have to change your "Sources.list" to "Buster" in order to track "Stable", hope this clarifies any confussion, cheers! :wink:
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Jessie to Stretch

#5 Post by Bulkley »

Most of us don't need those src lines. I don't even use those lines previously known as 'volatile'. I'm not sure they are even used on Testing.

User avatar
eor2004
Posts: 251
Joined: 2013-10-01 22:49
Location: Puerto Rico
Has thanked: 4 times
Been thanked: 5 times

Re: Jessie to Stretch

#6 Post by eor2004 »

I think that those "src" entries are for someone interested in building a package or whatever from source, at least that's what I think it says here: https://wiki.debian.org/apt-src
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: Jessie to Stretch

#7 Post by pendrachken »

pawRoot wrote:What i meant is that i want to receive Stretch packages until it becomes stable, once Stretch becomes stable, i want to be on stable :D

I'm just afraid i might start tracking next stretch release in future, and there is no option to downgrade (safe one at least)

Then keep tracking testing until stretch is released as stable, then a few days before the release change your sources.list to track stable instead of testing and don't try to update any packages until the stable release.

Or to make it even easier so you don't have to change anything at all later, or worry about when the release is.... just change the "testing" parts of your sources.list to read the code name "stretch" like eor2004 said.

Either way will work.
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Jessie to Stretch

#8 Post by pawRoot »

Ok thanks everyone i get it now :)

Post Reply