Upgrade Debian Etch to Debian Lenny

Upgrading distributions are not always easy, but on Debian it is quite easy.

1. Edit and change keywords like stable or etch to lenny

sudo nano /etc/apt/sources.list

2. Update and upgrade:

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

Related posts:

  1. Howto Install Sun Java on Debian Etch
  2. Debian Backports
  3. Installing Xen on Debian Etch 4.0
  4. Update entry on Xen on Debian Etch
  5. Howto Install Oracle on Debian
  6. Howto install Java on Debian Sarge
  7. Howto: Install Ruby and Rails on Debian or Ubuntu
  8. Howto Upgrade Joomla
  9. Ubuntu Howto: Install Oracle
  10. Ubuntu Howto: Install Sun Java

Popular Related Items »

1 Comment »

  1. catav said,

    October 27, 2008 @ 20:07

    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

RSS feed for comments on this post · TrackBack URI

Leave a Comment