Upgrade from Debian Squeeze 6.0.6 to Debian Wheezy 7.0

Valic —  October 5, 2012 — Leave a comment

In this tutorial I will show you how to upgrade your Debian 6.0.6 Squeeze to Debian 7.0 wheezy.

Step1. Update your /etc/apt/sources.list  file:

We needed to replace all sources from sources.list file with Wheeze sources.

echo "deb http://mirrors.kernel.org/debian/ wheezy main
deb-src http://mirrors.kernel.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main" > /etc/apt/sources.list

Step2. Now upgrade your system

 apt-get update && apt-get upgrade

This will take a while.

Step3. Now  upgrade to Debian Wheezy using the following command:

apt-get dist-upgrade

To check if now you have installed the wheezy version use:

cat /etc/debian_version

Enjoy.

Valic

Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply