Comments on How To Upgrade Debian Etch To Lenny

How To Upgrade Debian Etch To Lenny Debian Etch is soon to be unsupported by the Debian team, therefore all Debian Linux Servers need to be upgraded to Debian Lenny. I work for Netzen (an IT Support company) and have upgraded many Linux servers to Debian Lenny over the past months, so I am providing this guide on how to upgrade Debian Etch to Debian Lenny to the HowtoForge community.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: R S Chakravarti

I would agree with most of this but not all.

I find aptitude a bit too smart and prefer apt-get.

After editing /etc/apt/sources.list (this can be the first step

after backing up, in my opinion)

I would suggest

# apt-get -dy dist-upgrade

 to get all the new packages.

Then

# apt-get upgrade

which would upgrade all packages that do NOT

require new packages or removals

(you missed the word not).

Then the rest.

By: Anonymous

sed -i s/etch/stable/g /etc/apt/sources.list

apt-get update && apt-get dist-upgrade

 

 

 

By:

Thanks, I have corrected that typo :)

By: Anonymous

Hi you missed install on the kernel install instruction - i.e.:

aptitude install linux-image-2.6-686

By: Anonymous

Debian Lenny release notes has a detailed upgrade guide. You should link it I think.

http://www.debian.org/releases/lenny/releasenotes

By: Oscar

Dunno how it's on other distribs, but on my arm based box, aptitude was autoremoved during:

aptitude update && aptitude install apt && aptitude install aptitude

so the last command failed.

I fixed it by executing

apt-get install aptitude

afterwards and then continued this HowTo.
It's doing the safe-upgrade now, looks okay: thanks for article ;)