HowTo: Upgrade Debian Lenny to Squeeze

h‮sptt‬://www.lautturi.com
HowTo: Upgrade Debian Lenny to Squeeze

To upgrade a Debian Lenny (version 5) system to Squeeze (version 6), you will need to follow a specific process that involves changing the package repositories and updating the system.

Follow these steps to upgrade from Debian Lenny to Squeeze:

  1. Make a backup of your important data and configuration files.

  2. Open a terminal and log in as the root user or use sudo to execute the commands.

  3. Edit the /etc/apt/sources.list file and replace all occurrences of lenny with squeeze.

  4. Run the following command to update the package index:

apt-get update
  1. Upgrade the system packages by running the following command:
apt-get dist-upgrade

This will upgrade the system to Squeeze, but it may leave some packages at their Lenny versions if newer versions are not available in Squeeze.

  1. Run the following command to upgrade any remaining Lenny packages to their Squeeze versions:
apt-get upgrade
  1. Remove any orphaned packages by running the following command:
apt-get autoremove

This will remove any packages that were installed as dependencies and are no longer needed.

  1. Reboot the system
Created Time:2017-10-29 22:08:45  Author:lautturi