Home > sysadmin > Upgrading to Debian 7 (wheezy) – lamp server with dotdeb

Upgrading to Debian 7 (wheezy) – lamp server with dotdeb

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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: