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)
Comments
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
good point
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.
You should start using byobu.
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.
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.
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.
You saved my day!
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
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
At first I had this commented out. Your solutions seems to be the right fix. Cheers.
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.
deor, did you complete the wheezy upgrade with ISPConfig? Anything to note?
Anyone else knows if this procedure is good with ISPConfig servers?
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
The procedure works for ispconfig Servers as well.
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/
Thank's .
Thanks !!!!
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!
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.
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?
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.