How To Upgrade From Debian Squeeze To Wheezy

How To Upgrade From Debian Squeeze To Wheezy

First, get your system as current as possible:

$ apt-get update
$ apt-get upgrade

Then edit /etc/apt/sources.list and change every squeeze to wheezy. If you’re using vi, you can edit the file and then enter:

:%s/squeeze/wheezy/g

Then, from the terminal:

$ apt-get update
$ apt-get upgrade

You’ll get a lot of spooky questions. I answered yes or ok to everything, even when the default was no.

Reboot to the new kernel. Yes. Do this.

Boom. You’re done.