Comment 31 for bug 1160346

Revision history for this message
lampeoneon (fabricebonaparte) wrote : Re: [Bug 1160346] Re: do-release-upgrade from Ubuntu 12.04 on Pentium-M fails, breaks system without any warning (This kernel does not support a non-PAE CPU)

Thanks
On Mar 3, 2014 5:40 AM, "Chris Bainbridge" <email address hidden>
wrote:

> I'm attaching a patch for DistUpgradeQuirks.py that aborts the upgrade
> if the pae flag is not in /proc/cpuinfo (the same check as used by the
> kernel package on install). It would be a good idea to release this fix
> before the 14.04 LTS is released in order to save thousands of people
> from ending up with a broken system when they try to upgrade from 12.04
> LTS to 14.04 LTS
>
> ** Patch added: "update_manager_quirks_pae.patch"
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1160346/+attachment/4004690/+files/update_manager_quirks_pae.patch
>
> ** Tags added: patch
>
> ** Tags removed: quantal
>
> ** Tags added: pae
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1103208).
> https://bugs.launchpad.net/bugs/1160346
>
> Title:
> do-release-upgrade from Ubuntu 12.04 on Pentium-M fails, breaks system
> without any warning (This kernel does not support a non-PAE CPU)
>
> Status in "linux" package in Ubuntu:
> Invalid
> Status in "ubuntu-release-upgrader" package in Ubuntu:
> Triaged
>
> Bug description:
> Attempting to upgrade from Precise with a non-PAE kernel will result
> in a failed upgrade. do-release-upgrade should check whether the user
> is using a non-PAE kernel and refuse to run, rather than upgrading to
> a broken system with no installed kernel.
>
> After downloading 1.5GB+ of data and over 1000 new packages, the
> upgrade will eventually report failure. Looking through the logs there
> is no kernel installed because of the error "This kernel does not
> support a non-PAE CPU.":
>
> Selecting previously unselected package linux-image-3.5.0-26-generic.^M
> Unpacking linux-image-3.5.0-26-generic (from
> .../linux-image-3.5.0-26-generic_3.5.0-26.42_i386.deb) ...^M
> This kernel does not support a non-PAE CPU.^M
> dpkg: error processing
> /var/cache/apt/archives/linux-image-3.5.0-26-generic_3.5.0-26.42_i386.deb
> (--unpack):^M
> subprocess new pre-installation script returned error exit status 1^M
> No apport report written because MaxReports is reached already
>
> Related bugs:
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/897786 Kernel is
> dropping non-PAE flavour
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1068862 upgrade
> from 12.04 to 12.10 on a sans-pae CPU leaves kernel broken
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1160346/+subscriptions
>