Upgrade debian etch to lenny

1. Edit sources.list

sudo vi /etc/apt/sources.list

and change all words etch to lenny, or stable to testing (vim: :s/etch/lenny/g)

2. Update and upgrade

sudo aptitude update
sudo aptitude install apt dpkg aptitude
sudo aptitude full-upgrade

that is all, this also work if you want to go from lenny to sid, just change your sources.list accordingly.

It is also better if you start your Debian Linux in text mode, so GDM or KDM could be restarted without problems.

After the upgrade:

Ref: http://www.go2linux.org/upgrading-debian


Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.