Comment 91 for bug 107188

Revision history for this message
Tzvetan Mikov (tmikov) wrote : Re: [MASTER] [kde] Upgrade tool crashed with " Cannot allocate memory"

Here is the workaround which worked for me:

* Download the Kubuntu "Alternate Install CD", burn it and mount it in /cdrom
* From a shell execute:
cd $(mktemp -d)
tar xzf /cdrom/dists/gutsy/main/dist-upgrader/binary-all/gutsy.tar.gz
wget http://launchpadlibrarian.net/10255100/DistUpgradeViewText.patch
patch < DistUpgradeViewText.patch
sed -ie "s/View=.*/View=DistUpgradeViewText/" DistUpgrade.cfg
sudo ./gutsy --cdrom /cdrom

The upgrade proceeds in text mode and completes successfully. Ironically there is also a minor bug in the text mode upgrade process (see https://bugs.launchpad.net/ubuntu/+bug/154195) - that is why the patch is necessary.

This is the same workaround as described by cimmo, but hopefully a bit more detailed so a novice could apply it (yeah, right :-).