[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HOWTO: Upgrading to Debian 5 (Lenny / "Testing")




HOWTO: Upgrade to Debian 5 (Lenny / "Testing")

1.) start a root-shell (via Applications/Accessories/Root-Terminal)
   (or alternatively start a normal shell and
   issue the command "su" and enter the root password)

2.) issue the following commands:
      apt-get autoclean
      apt-get clean

3.) Save your current /etc/apt/sources.list file somewhere
    and replace it with the following content:

# /etc/apt/sources.list for the current Debian "testing" release (--> Debian 5 aka Lenny)

##############################################################################
# STABLE:
#
#deb     http://ftp.debian.org/debian/  stable          main contrib non-free
#deb-src http://ftp.debian.org/debian/  stable          main contrib non-free
#deb     http://security.debian.org/    stable/updates  main contrib non-free
#deb-src http://security.debian.org/    stable/updates  main contrib non-free


##############################################################################
# TESTING:
#
# ALWAYS USE "testing". This is the best option (--> system is always uptodate)
# For ntfs-3g and gcc-multilib etc. "testing" is needed
#
deb     http://ftp.debian.org/debian/  testing         main contrib non-free
deb-src http://ftp.debian.org/debian/  testing         main contrib non-free
deb     http://security.debian.org/    testing/updates main contrib non-free
deb-src http://security.debian.org/    testing/updates main contrib non-free


##############################################################################
# UNSTABLE:
#
# sun-java5 packages are in the unstable distribution:
#deb     http://ftp.debian.org/debian/ unstable       non-free
#deb-src http://ftp.debian.org/debian/ unstable       non-free


##############################################################################
# EXPERIMENTAL:
# ...


##############################################################################


4.) issue these commands:
      apt-get update
      apt-get dist-upgrade


5.) Depending on your system and Internet speed the automatic downloading
    of the files from debian.org can take about 30 Minutes.
    After the downloading it will start upgrading your system.
    This too can take about 30 minutes or so.


6.) After the upgrade reboot your machine
    by issuing the "reboot" command or via the GUI.


7.) From time to time you should issue the following commands
    to keep your system uptodate:
      apt-get update
      apt-get upgrade

By using this method your system will always be uptodate,
so you never again need to upgrade your machine.

Enjoy!

Adem


Reply to: