linux-server -> linux-generic-pae transition not working well

Bug #540114 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Unassigned
Lucid
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: update-manager

When upgrading from hardy to lucid with a linux-server install some systems end up with two kernels.

One kernel is linux-generic picked by base-installer.

The other is the transitional kernel by the linux-server dependency on linux-image-pae.

update-manager should detect that and do not install linux-generic that got suggested from base-installer.

Bits from the log:

2010-03-16 11:20:56,470 DEBUG Kernel uname: '2.6.24-25-server'
2010-03-16 11:20:56,537 DEBUG ./get_kernel_list.sh returns: ['linux-generic',
+'linux-image-generic', 'linux-virtual', 'linux-image-virtual', 'linux-rt',
+'linux-image-rt', 'linux-generic-pae', 'linux-image-generic-pae', 'linux-xen',
+'linux-image-xen', 'linux-386', 'linux-image-386']
2010-03-16 11:20:56,538 DEBUG linux-xen not available in cache
2010-03-16 11:20:56,538 DEBUG linux-image-xen not available in cache
2010-03-16 11:20:56,538 DEBUG Installing 'linux-generic' (Selecting new kernel
+from base-installer)

2010-03-16 11:21:01,283 DEBUG Install: linux-image-2.6.32-16-generic-pae, linux-image-server, linux-image-generic, +linux-image-generic-pae

Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ubuntu-10.04-beta-2
Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed now, I tested it in a clean hardy chroot and the log looks like this now:

2010-03-17 10:56:47,234 DEBUG ./get_kernel_list.sh returns: ['linux-generic', 'linux-image-generic', 'linux-virtual', 'linux-image-virtual', 'linux-rt', 'linux-image-rt', 'linux-generic-pae', 'linux-image-generic-pae', 'linux-xen', 'linux-image-xen', 'linux-386', 'linux-image-386']
2010-03-17 10:56:47,235 DEBUG linux-image-generic-pae kernel already installed

No double kernel selection anymore.

Changed in update-manager (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.133.4

---------------
update-manager (1:0.133.4) lucid; urgency=low

  [ Michael Vogt ]
  * DistUpgrade/DistUpgradeController.py, DistUpgrade/DistUpgradeView.py:
    - detect pre-depends cycle and cleanly revert (LP: #516727)
      to the old system state
  * DistUpgrade/DistUpgradeCache.py:
    - only ensure translations are kept if they are still downloadable,
      there is a lot of churn in the translations area so its not
      feasible to keep them all
    - when checking the kernel list from base-installer, also consider
      kernels that are marked install (LP: #540114)
    - check rdepends of all packages (including auto-removal ones)
      again ensure the removal blacklist is honored in all cases
      (LP: #540823)
  * DistUpgrade/DistUpgradeController.py:
    - show progress information when searching for obsolete software
      (this can take a bit on a big install)
  * DistUpgrade/DistUpgradeViewNonInteractive.py:
    - fix crash in non-interactive mode (thanks to Andreas Hasenack)

  [ Colin Watson ]
  * Ship /var/lib/update-notifier directory in update-manager-core, so that
    it's always there for 91-release-upgrade (LP: #540159).
 -- Michael Vogt <email address hidden> Fri, 19 Mar 2010 13:57:18 +0100

Changed in update-manager (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.