LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-18-2009, 05:20 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
How to upgrade sarge to lenny (stable)?


Hello,

I found this help:
http://www.debian.org/doc/manuals/re...-woody.en.html

shall :
Code:
# first change to the right /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
be the right way?
 
Old 03-18-2009, 05:51 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by frenchn00b View Post
Hello,

I found this help:
http://www.debian.org/doc/manuals/re...-woody.en.html

shall :
Code:
# first change to the right /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
be the right way?
Assuming that a typical line in your sources.list file looked like this:
Code:
deb http://ftp.de.debian.org/debian/ sarge main
and if you want to always use stable (rather than always use lenny - which is stable at the moment) then you could change all the "sarge" references in each line of the sources.list file to "stable" so that the sample line above would look like this:
Code:
deb http://ftp.de.debian.org/debian/ stable main
Then you wouldn't have to change the sources list file every time that Debian has another release. You would be tracking "stable" automatically.

I would use aptitude rather than apt-get and I'm not sure your middle step is really necessary so I would suggest:
Code:
sudo aptitude update
sudo aptitude dist-upgrade
That should get you Lenny.
cheers,
jdk
 
Old 03-18-2009, 07:19 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 57
sooo here we go, here the bug:

http://yellowprotoss.ye.funpic.org/d...screenshot.png
gdm autologin hangs already

Quote:
no exec line in the session file: x-debian-windowmanagers-fluxbox. Running the Gnome failsafe session instead

Last edited by frenchn00b; 03-18-2009 at 07:27 AM.
 
Old 03-18-2009, 10:51 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by frenchn00b View Post
sooo here we go, here the bug:

http://yellowprotoss.ye.funpic.org/d...screenshot.png
gdm autologin hangs already
Is this what happened after you did your dist-upgrade? Depending on what kernel you're running you may want to upgrade the kernel at this time as well. I'll wait to hear more details before venturing an diagnosis.

BTW, how do you know this is a bug? Have your read something about it somewhere?

If you're upgrading from Sarge to Lenny, this is quite a jump so a few glitches are not surprising.
cheers,
jdk

Last edited by jdkaye; 03-18-2009 at 10:52 AM.
 
Old 03-19-2009, 06:41 AM   #5
TeenyLemon
LQ Newbie
 
Registered: Dec 2008
Posts: 27

Rep: Reputation: 16
last time i tried to upgrade from etch to lenny it screwed up big time and i had to reformat.

quick question though: will all my apps still work on lenny?
 
Old 03-19-2009, 06:43 AM   #6
TeenyLemon
LQ Newbie
 
Registered: Dec 2008
Posts: 27

Rep: Reputation: 16
Quote:
Originally Posted by frenchn00b View Post
sooo here we go, here the bug:

http://yellowprotoss.ye.funpic.org/d...screenshot.png
gdm autologin hangs already

)h didn't see that but that was the exact error i got. When i tried to downgrade back to etch it wouldn't budge
 
Old 03-19-2009, 01:34 PM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by TeenyLemon View Post
)h didn't see that but that was the exact error i got. When i tried to downgrade back to etch it wouldn't budge
The error you posted seems to related to fluxbox. Have you tried any other windows manager? When your login screen comes on can you select another session besides fluxbox? Is fluxbox correctly installed? Any broken packages? Have you checked the /var/log/Xorg.0.log for any useful error messages?
cheers,
jdk
 
Old 03-22-2009, 05:26 PM   #8
Wavfact
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Sorry, don't mean to hijack this thread but I'm trying to do the same thing..

I'm presently runnign etch with kernel 2.4.27-3-386

I too would like to upgrade to the lastest since my OS is about 4 years old.. Soeone mentioned above that the OP might want to upgrade his kernel also.. Wouldn't doing an "aptitude update" and "aptitude dist-upgrade" bring in a new kernel if I change my sources.list file to the stable?

# Main
deb xxxx://ftp.us.debian.org/debian stable main contrib non-free
deb-src xxxx://ftp.us.debian.org/debian stable main contrib non-free

# Security
deb xxxx://security.debian.org/ stable/updates main contrib non-free
deb-src xxxx://security.debian.org/ stable/updates main contrib non-free

If not, how should I do a kernel upgrade? Also, should this be done prior to or after doing a dist-upgrade?

I'm doing this remotely via ssh..

Dennis
 
Old 03-23-2009, 03:59 PM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Wavfact View Post
Sorry, don't mean to hijack this thread but I'm trying to do the same thing..

I'm presently runnign etch with kernel 2.4.27-3-386

I too would like to upgrade to the lastest since my OS is about 4 years old.. Soeone mentioned above that the OP might want to upgrade his kernel also.. Wouldn't doing an "aptitude update" and "aptitude dist-upgrade" bring in a new kernel if I change my sources.list file to the stable?

# Main
deb xxxx://ftp.us.debian.org/debian stable main contrib non-free
deb-src xxxx://ftp.us.debian.org/debian stable main contrib non-free

# Security
deb xxxx://security.debian.org/ stable/updates main contrib non-free
deb-src xxxx://security.debian.org/ stable/updates main contrib non-free

If not, how should I do a kernel upgrade? Also, should this be done prior to or after doing a dist-upgrade?

I'm doing this remotely via ssh..

Dennis
Nope. In Debian kernels require specific action to upgrade. They don't get upgraded routinely; you have to specifically do the upgrade.
cheers,
jdk
 
Old 03-25-2009, 04:57 PM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by jdkaye View Post
The error you posted seems to related to fluxbox. Have you tried any other windows manager? When your login screen comes on can you select another session besides fluxbox? Is fluxbox correctly installed? Any broken packages? Have you checked the /var/log/Xorg.0.log for any useful error messages?
cheers,
jdk

So I got it working with :
firing the autologin
and apperently the new version of gdm didnt like autologin

i had to recreate a .dmrc with normal login.

I am sorry, but I meant:
from Etch to Lenny

here my sources.list:
the pc works, successfulll dist-upgrade !!

Code:
# 
deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://debian-multimedia.org lenny main
deb http://www.backports.org/debian lenny-backports main contrib non-free
Code:
apt-get update
apt-get upgrade
apt-get dist-upgrade
then fight to make it work, also enjoy the grub !!
 
Old 03-25-2009, 04:58 PM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by jdkaye View Post
Nope. In Debian kernels require specific action to upgrade. They don't get upgraded routinely; you have to specifically do the upgrade.
cheers,
jdk
apt-get dist-upgrade
did teh kernel upgrade by itself, well I guess I press Y during teh apt-get
 
  


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
can't play vidoes after upgrade from etch to lenny ... all stable biharibong Debian 2 02-17-2009 04:24 PM
Lenny stable? texasone Debian 2 08-17-2008 02:09 PM
debianutils problem (upgrade sarge to lenny) kaz2100 Debian 1 08-11-2007 04:01 AM
Need a downgrade from etch/stable to sarge/stable raven Debian 2 06-08-2007 10:43 PM
upgrade to stable 64bit sarge linuxmandrake Debian 3 11-09-2005 10:39 AM

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

All times are GMT -5. The time now is 12:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration