View Single Post
  #1  
Old 8th October 2008, 09:49
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Exclamation Howto upgrade from Debian 4 (Etch) to Debian 5 (Lenny)

You probably noticed by now, that Debian GNU/Linux 5.0 aka "Lenny" hasn't been released in September. The reason: too many bugs need to be fixed.

When Lenny has been released, you can upgrade from Etch to Lenny according the steps below:
(According the official Debian documentation, these 5 steps describe the safest way to do that job).

STEP 1:
-------
Make a backup of your current Debian Etch system.

STEP 2:
-------
Change the content of the file /etc/apt/sources.list.
This means that you need to change "etch" into "lenny".
So in my case i have to change:

deb http://ftp.nl.debian.org/debian/ etch main
deb-src http://ftp.nl.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

into:

deb http://ftp.nl.debian.org/debian/ lenny main
deb-src http://ftp.nl.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib


Beware:
if you use "stable" instead of "etch", your system will make use of the packages provided by Debian Lenny from the moment on that Lenny gets stable!


STEP 3:
-------
Execute the command: aptitude update
to get information about new packages

STEP 4:
-------
Execute the command: aptitude install dpkg aptitude apt
to install the newest package management

STEP 5:
-------
Execute the command: aptitude full-upgrade

Reference:
The Debian Devel anounce
__________________
Hans

MrHostman | Master in managed hosting

Last edited by Hans; 8th October 2008 at 19:39.
Reply With Quote
Sponsored Links