LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2007, 07:26 PM   #1
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Rep: Reputation: 16
Cool Debian Sarge -> Etch Upgrade Prep


I was about to upgrade my sys from sarge to etch but was pulled off to other duties & am now back to it. I've spent a lot of time reading the etch Release Notes, & am somewhat confused by the order of things suggested, depending on the current sys status, list of packages, etc. I rather suspect my config is simple enough (not using graphical interface, etc.) that things will go smoothly just by doing the following:

1. Change the distribution in my sources.list from 'sarge' to 'etch'
2. Do: "aptitude update"
3. Do: the recommended 2-part upgrade:
a. "aptitude upgrade"
b. "aptitude install initrd-tools"

Presumably #3 would upgrade my kernel from 2.4 to 2.6, so a reboot would result in etch running under 2.6, right?

Question #1 - Following the advice of 4.2.3 "Checking packages status" in the Release Notes, "dpkg --audit" reports the following:
================
The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect:
kernel-image-2.4.27-2-386 Linux kernel image for version 2.4.27 on 386
================
Do I try to force the issue with the 2.4 kernel (do the "dpkg --configure kernel-image-2.4.27-2-386" it recommends), or since etch will install a 2.6 kernel is it even necessary?

Question #2 - Just when I thought I'd get a kernel upgrade without much stress, section 4.6.3 in the RN warns that the upgrade to the 2.6 kernel should be done BEFORE the etch package upgrade if you're using hotplug with 2.4. I am running 2.4 & "dpkg --get-selections" lists "hotplug install". Does this mean my sys "relies on hotplug," as the warning describes?

Thanks for any help.
-Ron
 
Old 08-03-2007, 11:33 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
First I recommend making a full backup before you do anything. Be sure to back up the MBR of the boot disk.

Then I recommend doing a fresh installation of the new version. The reason that I recommend doing a fresh installation is that I have had numerous experiences trying to upgrade various operating systems from one major version to another. You frequently have problems with the upgrade that cause mysterious problems. These problems can arise because some software on the old system does not have a counterpart on the new system so the old software remains in place, or some new version of a common software component doesn't get completely replaced because it has different configuration files, or, well, anything can happen. Trying to find all of the bugs caused by the faulty upgrade, which show up at the worst possible times, often takes much more time and effort than installing and configuring a fresh system.

IMO
 
Old 08-04-2007, 09:30 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I didn't have many problems going from sarge to etch on a server. IIRC only MRTG and SNMP needed fixing after.

Also IIRC I upgraded the kernel first, then everything else.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
since upgrade debian sarge>etch can't mount smb-shares with ads t0bias Linux - Server 0 06-20-2007 04:22 AM
How to resolve unmet dependencies in dist-upgrade from debian sarge to etch maxmil Linux - Software 8 01-30-2007 04:33 AM
Debian Sarge to Etch Upgrade Caused X Windows to Not Start sabot Debian 1 04-11-2006 04:24 PM
Debian Sarge Dist-Upgrade to Etch... now NO GDMSETUP to be found. freetime000 Linux - Software 2 04-08-2006 07:49 PM
Upgrade from sarge to etch romrom Debian 5 06-07-2005 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:52 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