Comments on How To Upgrade Debian Squeeze To Wheezy

How To Upgrade Debian Squeeze To Wheezy The new Debian Wheezy has just been released. This tutorial explains how to upgrade your system from Debian Squeeze to Debian Wheezy.

22 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Al Nonymous

One line in your Wheezy sources.list reads: deb http://ftp.de.debian.org/debian-security wheezy/updates main contrib non-free It should read: deb http://security.debian.org/debian-security wheezy/updates main contrib non-free

By: s1c

good point

By: Grant

I prefer to download first, before installing any updates, making it 5 steps:

Update the sources

apt-get update

apt-get dist-upgrade -d

apt-get upgrade

apt-get dist-upgrade

I have had issues in the past with a loss of network connectivity mid update causing serious issues.

By:

You should start using byobu.

By: Anonymous

I skimmed through the steps, and didn't pay attention to the URL in the sources list.  I mistakenly cut and paste the sources.list, and "apt-get update" before I caught it.  I thought this would be useful.  I found a sources.list generator at http://debgen.simplylinux.ch/.  This will take care of any country code variations.

By: Stephen Angelico

Instead of copying and pasting the lines you have, or removing any non-Debian source lines, just change the Debian lines so that they say wheezy instead of squeeze, then do apt-get update, upgrade and dist-upgrade.

By:


I tested this on ISPconfig3 cluster. Worked pretty well. Only thing that broke down was phpmyadmin (SSL). Browser tries to download the page.
 

Edit: This will fix this small problem...

vi /etc/apache2/mods-available/suphp.conf

<IfModule mod_suphp.c>

#<FilesMatch "\.ph(p3?|tml)$">
#  SetHandler application/x-httpd-suphp
#</FilesMatch>

AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
suPHP_AddHandler application/x-httpd-suphp

...

 Remember to restart Apache.

By:

You saved my day!

By: Maciej

Thank you for the description.

 

In the case of the following trouble:

"E: Could not perform immediate configuration on ‘default-jre’"

it is worthwhile to have a look here:

 http://paulberruti.net/2012/08/could-not-perform-immediate-configuration-on-default-jre/#comment-2559

 

Maciej

By:

I had after the Update this in my Log:

...  SASL PLAIN authentication failed: no mechanism available

 

Therefor you have to change this file:

/etc/postfix/sasl/smtpd.conf

auxprop_plugin: mysql

now has to be:

auxprop_plugin: sql
sql_engine: mysql

and %u  has to be replaced with %u@%r

 

By: Zwamkat

At first I had this commented out. Your solutions seems to be the right fix. Cheers.

By:

I read there (french discussion inside) that there might be some trouble with postfix when upgrading to wheezy.

Has someone experienced such trouble while upgrading to wheezy with ISPConfig installed?

 BTW: the fix of the mentionned problem is to comment the "#auxprop_plugin" line in /etc/postfix/sasl/smtpd.conf conf file.

By:

deor, did you complete the wheezy upgrade with ISPConfig? Anything to note?

 Anyone else knows if this procedure is good with ISPConfig servers?

By: S

In one of our systems after dist-upgrade and reboot following error has occured:
(GRUB) error: symbol not found: 'grub_divmod64_full'
http://forums.debian.net/viewtopic.php?f=17&t=73260

In order to fix this bug we had to launch into rescue mode and reinstall grub (with some downtime).

It order to prevent that, just reinstall grub right before final reboot with following command (for each disk separately):
grub-install --no-floppy --recheck /dev/sdX

By: admin

The procedure works for ispconfig Servers as well.

By:

Thanks for the guide!

I made a blog post about my upgrade and the extra steps for ISPConfig. Also noted some of the errors I found after the upgrade.

http://techjottings.com/upgrading-debian-6-squeeze-to-debian-7-wheezy-with-ispconfig/

By: vlatko175

Thank's .

By: Hans

Thanks !!!!

By: Nathan

Thank you so much! Definitely recommend you update the directions to recommend downloading first, because if I hadn't done that, I'd have been screwed due to wifi drivers. But this was one very fast upgrade even with the couple of snags!

By: Mihai

Worked fine, thanks!

BTW, I had to install the new kernel as in the previous tutorial "Squeeze upgrade in two careful steps" to get the upgraded system to boot.

By: Simon

What about the disk scpace needed for the new packages? df -h output for the /var directory says, I have 1,9G free space. Is it enugh?

By: treki

apt-get dist-upgrade...233 upgraded, 71 newly installed, 4 to remove and 0 not upgraded.Need to get 228 MB of archives.After this operation, 239 MB of additional disk space will be used.E: You don't have enough free space in /var/cache/apt/archives/.

I have increase memory in /etc/fstab from 150M to 300M like this:

tmpfs           /var/cache/apt/archives  tmpfs    size=300M         0       0

Now the dist-upgrade work.