Upgrading Squeeze to Wheezy with DotDeb already in source


I am running Debian Squeeze on 3 separate servers (1 web with nginx, and 2 db's with mysql). I wanted to upgrade to Wheezy, but I have been using Dotdeb to have a later version of php and mysql.

For the upgrade, do I need to take any extra precautions because of dotdeb? do i need to remove those from sources list first or anything?


2 Replies

I was testing just this on a local VPS a few days ago. I started with Debian 6 plus the Dotdeb repo, including PHP 5.4.

I got a clean upgrade to Debian 7 with Debian's php 5.4 like this:

  • Run apt-get update/upgrade to bring the Debian 6 system up to date

  • Remove the dotdeb php54 squeeze repo from sources (leaving the main dotdeb repo in place)

  • Edit all occurrences of 'squeeze' to 'wheezy' in sources

Then proceed with the upgrade.

Dotdeb has php 5.5 for Wheezy. You can later add it to sources and upgrade if that's what you want.

One minor hitch I encountered is that sysklog is gone from Debian 7. Irrelevant if you're running rsyslogd currently in your Deb 6 :)

ok, thanks for the info. i will make a backup and try that.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct