LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-24-2014, 06:38 PM   #1
Eireannach
LQ Newbie
 
Registered: May 2014
Location: Ireland
Posts: 29

Rep: Reputation: 5
Upgrading when new stable is released


I am running a basic Debian stable (Wheezy) using Xfce desktop ( installed from Debian Live CD).For me the attration of stable is the fact that, other than security, there are not constant upgrades to be dealt with.

However as a result of this thread http://www.linuxquestions.org/questi...in-4175505941/ and also some discussion over at solydx forums I am wondering what will happen when Jessie goes stable.

Is it practical ( as opposed to theoretically possible - I know Debian issues detailed upgrade instructions) for an average desktop user to simply upgrade at that time or will a re-install be called for ?

Last edited by Eireannach; 05-24-2014 at 06:39 PM. Reason: spelling errors
 
Old 05-24-2014, 06:43 PM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
It should be easy to do the upgrade. No re-install should be necessary. A simple "apt-get dist-upgrade" should do the job, assuming you have Stable in your sources.list. If you have Wheezy instead, you'll need to change that to either Stable or Jessie. If you intend to use whatever version of stable is current, then put stable there and you won't need to make any other changes.
 
Old 05-24-2014, 06:50 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Had you read that thread more carefully you'd noticed that OP is using an OLDstable (Squeeze) system, as to your Wheezy install. No need to panic, once Jessie is stable you'll find the detailed upgrade instructions you've already mentioned
 
Old 05-24-2014, 08:39 PM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,871

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
The problem with having "stable" in the sources.list rather than the release codename ("squeeze", "wheezy" etc.) is that when the next release is made any further upgrade or install operations pull packages from the new "stable" without taking account of any other things that should be done first.

There can be quite big changes in the base system between stable releases (wheezy to jessie will involve moving the init system to systemd) and just pulling new packages without following the recommended (and tested) upgrade path in the release notes could cause lots of breakage.

It is MUCH better to prepare in advance for a dist-upgrade and perform the operation in a controlled manner at a suitable time.

In the linked thread, the OP was bitten by changes to the init script structure between squeeze and wheezy, where his existing scripts that had not been upgraded did not conform to what the upgraded init was expecting.
If he had followed a proper upgrade process as per the release notes, this would all have been upgraded properly at once.

Last edited by descendant_command; 05-24-2014 at 08:42 PM.
 
Old 05-24-2014, 10:48 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I too would causion against changing your sources.list to "stable" as opposed to "wheezy" until you know more about what you are doing. I am using stable in my sources.list but I run an update/upgrade cycle every day to make sure my system is up to date all the time.

I will also be reading the release notes for Debian 8 before running said cycles when it is released.

All that said, Debian is designed to be upgraded. It actually upgrades very reliably if you know what you are doing. Get all your ducks in a row before doing so.

It is one of those basic things that work better if you, before hand, RTFM.
 
Old 05-25-2014, 06:44 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I think that they are stil a ways off, they still haven't fixed the
Quote:
[bug] gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Atleast I haven't been able to fix it, on my system.
 
Old 05-25-2014, 10:00 AM   #7
Eireannach
LQ Newbie
 
Registered: May 2014
Location: Ireland
Posts: 29

Original Poster
Rep: Reputation: 5
Thank you for the replies.

My original post may have been unclear , sorry - I was aware of the difference between having "wheezy" as opposed to "stable" in the sources list.

My enquiry was more of the nature as to whether it is practical , having read the relevant Debian upgrade notes, to do an upgrade ( rather than a re-install) .
Quote:
Get all your ducks in a row
The consensus here seems to be that an upgrade is indeed practical
 
Old 05-25-2014, 04:06 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
There are people using this board that are still running upgraded systems that go back several versions.

I prefer a clean install because I tend to add and remove a lot of packages, that is to say I play with my system way too much because it is so much fun. This builds up a lot of cruft.

There are a number of tools duplicating all your installed packages and saving your ~./foo files comes in handy for configuring the new install.

If you haven't messed with your system much and you make a good backup of data, or the whole install first if you are really paranoid, a version upgrade should be faster. And should go fine.
 
Old 05-25-2014, 09:43 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 18,585
Blog Entries: 28

Rep: Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881Reputation: 5881
I have used Debian's on-line version upgrade to go from Lenny to Squeeze to Wheezy with no issues whatsoever. If you follow Debian's instructions carefully, you should be okay. I use my Debian box as my home file server, not as my primary "do stuff on" computer.

Nevertheless, make preparations in case something does go wrong. Back stuff up just as if you were going to install from scratch--if all goes well, just delete the back-ups (at least the ones you don't want to keep as a matter of good back-up practice).

Last edited by frankbell; 05-25-2014 at 09:44 PM.
 
Old 05-25-2014, 10:48 PM   #10
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by widget View Post
I prefer a clean install
I do, too, so that's what I always do with Debian. But a good friend of mine is just the opposite -- he's been taking the upgrade path for years now. After everything he's told me, I'd feel comfortable doing that, if I wanted to go that route.
 
Old 05-25-2014, 11:17 PM   #11
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,871

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I have a number of boxes (production servers and desktops) that started life as Etch 4.0 and are now on Wheezy.
I've only reinstalled clean when moving from 32 to 64bit. (or for a brand new instance - unless I can clone an existing one for the purpose).
My current daily drive started out on a desktop running Lenny and has moved to 2 different laptops and has been Sid since upgrading from Squeeze.
(I'm not a very good person to give advice about the installer ... it's been a while since I used it )

Last edited by descendant_command; 05-25-2014 at 11:18 PM.
 
Old 05-26-2014, 12:08 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
My homeserver started as Lenny installation, was upgraded to Squeeze and later to Wheezy, without any problems. Of course reading the release notes is mandatory, especially when upgrading from Wheezy to Jessie, when a new init system will get the default status.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ruby 2.0 Released As Stable LXer Syndicated Linux News 0 02-24-2013 11:31 PM
LXer: OpenTTD 1.2.0 Stable Released LXer Syndicated Linux News 0 04-17-2012 10:00 AM
upgrading from stable to testing Knightron Debian 23 12-28-2011 03:28 AM
Upgrading X stack on Debian stable jrdioko Debian 3 06-10-2011 08:12 AM
It's here! 13.1 Released as Stable. samac Slackware 91 06-03-2010 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration