Debian Tutorials Copy/Paste tutorials for Debian Linux

12Mar/090

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

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Reddit
  • StumbleUpon
  • Technorati
  • email
  • Live
  • Slashdot
  • LinkedIn
  • Print
  • Tumblr
  • Twitter
  • Netvibes
  • Netvouz
  • PDF
  • Yahoo! Bookmarks
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.