Upgrade from etch to lenny
Debian has released a stable version of Debian 5.0 (lenny). If you're running previous version of Debian, you can easily upgrade.
1. Modify apt sources (pico /etc/apt/sources.list)
Replace the old etch lines with something like this:
deb http://ftp.uk.debian.org/debian/ lenny main
deb-src http://ftp.uk.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
2. Update the apt database
apt-get update
3. Download Debian keyring (GnuPG and PGP keys of Debian Developers)
You probably received an error when updating the apt database complaining about a public key missing. Installing the Debian keyring from the lenny repository will fix this.
apt-get install debian-keyring debian-archive-keyring
4. Start the upgrade process
apt-get dist-upgrade