Home > sysadmin > Upgrading your server to Debian 7 (wheezy)

Upgrading your server to Debian 7 (wheezy)

May 6, 2013

To upgrade to Wheezy follow the standard instructions. Change all references
in /etc/apt/sources.list from squeeze to wheezy. Pound out any non-standard
sources. I am using dotdeb and used the following per their instructions:

deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

Then do apt-get update, apt-get dist-upgrade.
I have done this on two 64 bit squeeze servers and had a few errors on both.
The errors all involved using dotdeb versions of mysql and php5.
Do not reboot your remote server until you are able to complete the upgrade w/o errors.
I ended up removing mysql-5.5 and the offending php5 packages with aptitude.

I then reinstalled mysql-5.5-server and the php5 packages wheezy packages.
Everything then worked as advertised.

I did have to install dsyslog (replacement for rsyslog) manually in order
to start logging. On one box I had to install ifupdown manually to allow
the network to start.

if your using Dovecot, the dovecot.conf file needs to be updated. When you
restart it you will see the instructions.

You can check your work by doing dpkg –audit after you have completed the upgrade. You should
see any packages that need reinstalling.

Categories: sysadmin
%d bloggers like this: