linux-image-4.8.0 not installed upon upgrade to yakkety if linux-generic not installed

Bug #1633903 reported by themusicgod1
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
Medium
Brian Murray
Yakkety
Fix Released
Medium
Brian Murray

Bug Description

Test Case
---------
1) On an Ubuntu 16.04 system uninstall linux-generic
2) Upgrade from 16.04 to 16.10
3) Observe you are running a 4.4 kernel instead of a 4.8 one

With the version of the ubuntu-release-upgrader from -proposed, run by executing do-release-upgrade -p, the linux-generic package will be installed before upgrade and you should then be running a 4.8 kernel after upgrade.

Original Description
--------------------
Upon booting into the newly upgraded ubuntu yakkety system I noticed that the kernel option that grub listed was still linux-image-4.4.0-21-generic. The system booted okay, but in aptitude linux-image-4.4.0-21-generic was marked as obsolete (which lead to interesting problems later https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1633897). That is okay too, and while granted the linux-image-generic metapackage was not installed, linux-image-4.8.x was not installed by the update/upgrade process. What the upgrade process should probably do is upgrade to the new kernel that comes with the particular flavour being upgraded to.

Upgrade: 16.04 -> 16.10

ProblemType: BugDistroRelease: Ubuntu 16.10
Package: ubuntu-release-upgrader-core 1:16.10.6
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Sun Oct 16 13:34:39 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (829 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
PackageArchitecture: allSourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to yakkety on 2016-10-16 (0 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
themusicgod1 (themusicgod1) wrote :
tags: added: xenial2yakkety
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

I was able to recreate this by removing the linux-generic package from a 16.04 system and then upgrading to 16.10.

summary: - linux-image-4.8.0 not installed upon upgrade to yakkety
+ linux-image-4.8.0 not installed upon upgrade to yakkety if linux-generic
+ not installed
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: New → Triaged
importance: Undecided → Medium
description: updated
Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
assignee: nobody → Brian Murray (brian-murray)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:17.04.3

---------------
ubuntu-release-upgrader (1:17.04.3) zesty; urgency=medium

  * data/DistUpgrade.cfg: add ubuntkylin-desktop to the list of supported
    metapkgs. (LP: #1632665)
  * data/DistUpgradeQuirks.py: configure the quirk which installs the linux
    metapackage to run for every release upgrade. (LP: #1633903)

 -- Brian Murray <email address hidden> Mon, 24 Oct 2016 14:00:59 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello themusicgod1, or anyone else affected,

Accepted ubuntu-release-upgrader into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:16.10.8 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Verily verified.

2016-11-01 15:23:38,254 INFO release-upgrader version '16.10.8' started
...
2016-11-01 15:24:19,312 DEBUG quirks: running PostDistUpgradeCache
2016-11-01 15:24:19,312 DEBUG running Quirks.PostDistUpgradeCache
2016-11-01 15:24:19,886 DEBUG Comparing 4.4.0-31 with
2016-11-01 15:24:19,891 DEBUG Comparing 4.4.0-38 with 4.4.0-31
2016-11-01 15:24:19,891 DEBUG Comparing 4.8.0-26 with 4.4.0-38
2016-11-01 15:24:20,189 INFO installing linux metapackage: linux-generic
2016-11-01 15:24:20,189 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:16.10.8

---------------
ubuntu-release-upgrader (1:16.10.8) yakkety-proposed; urgency=medium

  * data/DistUpgradeQuirks.py: configure the quirk which installs the linux
    metapackage to run for every release upgrade. (LP: #1633903)
  * data/DistUpgrade.cfg: add ubuntkylin-desktop to the list of supported
    metapkgs. (LP: #1632665)
  * DistUpgrade/ReleaseNotesViewerWebkit.py: fix indentation of function
    _on_navigation_policy_decision_requested. (LP: #1635155)

 -- Brian Murray <email address hidden> Tue, 25 Oct 2016 12:13:12 -0700

Changed in ubuntu-release-upgrader (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for ubuntu-release-upgrader has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.