Debian Linux: Upgrade v6.0.x Squeeze to v7.0.0 Wheezy

To upgrade from Debian 6.0.x (Squeeze) to 7.0.0 (Wheezy), you can follow these steps:

  1. Backup your data: Before upgrading, it’s always a good idea to backup your data to ensure that you don’t lose any important files during the upgrade process.
  2. Update your current installation: Run the following commands to update your current Debian Squeeze installation:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
  1. Edit your sources.list file: Open the /etc/apt/sources.list file using a text editor with root privileges:
sudo nano /etc/apt/sources.list

Replace the lines in this file with the following:

deb http://ftp.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.debian.org/debian wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-updates main contrib non-free

  1. Upgrade to Debian Wheezy: Run the following command to start the upgrade process:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
  1. Clean up: After the upgrade is complete, run the following command to clean up the package cache:
sudo apt-get autoremove
sudo apt-get autoclean
  1. Restart your system: Finally, restart your system to complete the upgrade process:
sudo reboot

Note: The upgrade process may take some time, depending on the speed of your system and the number of packages that need to be upgraded. Be patient, and follow the on-screen instructions carefully.

Leave a Comment