LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-14-2007, 05:22 AM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Best way to upgrade from Sarge to Etch


Hi,

I am using Debian Sarge(kernel 2.6.15) on two machines...one with minimal base install (just text based) and other with graphical installation. I was hoping I can simply upgrade my system with just:

Code:
apt-get update
apt-get upgrade
apt-get dist-upgrade
But after read this article from debian website it seems that I may have to use aptitude and will have to do some other things also.

http://www.debian.org/releases/etch/...radingpackages


Please tell me what is the best way to do in my scenario.

Thanks
 
Old 04-14-2007, 07:13 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
The safest option is switching back to init 1 and start the upgrade process with aptitude update && aptitude dist-upgrade It is advised, due to the XFree to Xorg conversion, to do the upgrade outside of the normal GUI. When done, start aptitude and check for the xorg packages being installed. As a precaution, you may want to install the ssh server, so you can log in remotely.

Before you start, backup your data on optical disk or another computer. Keep a Etch netinstall cd handy, just in case
 
Old 04-14-2007, 05:38 PM   #3
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
I just did the upgrade yesterday and you should follow the release notes in so far as you should do a minimal upgrade first, then install the initrd-tools package and install a 2.6.18 kernel before the full dist-upgrade. I used aptitude but the upgrade stalled after downloading the packages with the warning that aptitude could not lock the cache. To get round this if it happens, try apt-get dist-upgrade instead. This worked for me. Oh yes, and definitely do it all from a virtual terminal (e.g init 1)as Dutch Master suggests.
 
Old 04-15-2007, 06:17 AM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by mikieboy
I just did the upgrade yesterday and you should follow the release notes in so far as you should do a minimal upgrade first, then install the initrd-tools package and install a 2.6.18 kernel before the full dist-upgrade. I used aptitude but the upgrade stalled after downloading the packages with the warning that aptitude could not lock the cache. To get round this if it happens, try apt-get dist-upgrade instead. This worked for me. Oh yes, and definitely do it all from a virtual terminal (e.g init 1)as Dutch Master suggests.

Thank you guys for your response. What is the best way to boot in init 1? Should I give "single" in my kernel boot parameters?
 
Old 04-15-2007, 06:29 AM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Select the "single mode" entry in Grub when booting, or in a rootterminal issue the init 1 command.
 
  


Reply



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
Sarge to Etch upgrade prospects war1025 Debian 9 01-03-2007 01:07 AM
Broken Sarge to Etch Upgrade - What now? Bryan88 Debian 10 12-31-2006 04:04 AM
Sarge to Etch upgrade - no mouse IBall Debian 3 11-25-2005 06:34 PM
Upgrade Sarge to Etch IBall Debian 1 11-23-2005 04:36 AM
Upgrade from sarge to etch romrom Debian 5 06-07-2005 03:01 PM

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

All times are GMT -5. The time now is 06:16 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
Open Source Consulting | Domain Registration