default kernel left installed on systems which use oem kernel

Bug #1873434 reported by Iain Lane
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

I've installed (with network during the installation) on the "oem-qemu-meta" platform. The oem kernel was indeed installed and booted from, but the default HWE kernel has been left installed.

laney@focal-ubuntu-oem-meta:~$ dpkg -l | grep linux
ii console-setup-linux 1.194ubuntu3 all Linux specific part of console-setup
ii libnvpair1linux 0.8.3-1ubuntu12 amd64 Solaris name-value library for Linux
ii libselinux1:amd64 3.0-1build2 amd64 SELinux runtime shared libraries
ii libuutil1linux 0.8.3-1ubuntu12 amd64 Solaris userland utility library for Linux
ii libv4l-0:amd64 1.18.0-2build1 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.18.0-2build1 amd64 Video4linux frame format conversion library
ii libzfs2linux 0.8.3-1ubuntu12 amd64 OpenZFS filesystem library for Linux
ii libzpool2linux 0.8.3-1ubuntu12 amd64 OpenZFS pool library for Linux
ii linux-base 4.5ubuntu3 all Linux image base package
ii linux-firmware 1.187 all Firmware for Linux kernel drivers
ii linux-generic-hwe-20.04 5.4.0.24.29 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.4.0-24 5.4.0-24.28 all Header files related to Linux kernel version 5.4.0
ii linux-headers-5.4.0-24-generic 5.4.0-24.28 amd64 Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
ii linux-headers-5.6.0-1007-oem 5.6.0-1007.7 amd64 Linux kernel headers for version 5.6.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-20.04 5.4.0.24.29 amd64 Generic Linux kernel headers
ii linux-headers-oem-20.04 5.6.0.1007.7 amd64 OEM Linux kernel headers
ii linux-image-5.4.0-24-generic 5.4.0-24.28 amd64 Signed kernel image generic
ii linux-image-5.6.0-1007-oem 5.6.0-1007.7 amd64 Signed kernel image oem
ii linux-image-generic-hwe-20.04 5.4.0.24.29 amd64 Generic Linux kernel image
ii linux-image-oem-20.04 5.6.0.1007.7 amd64 OEM Linux kernel image
ii linux-modules-5.4.0-24-generic 5.4.0-24.28 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-5.6.0-1007-oem 5.6.0-1007.7 amd64 Linux kernel extra modules for version 5.6.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-24-generic 5.4.0-24.28 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-oem-20.04 5.6.0.1007.7 amd64 Complete OEM Linux kernel and headers
ii linux-oem-5.6-headers-5.6.0-1007 5.6.0-1007.7 all Header files related to Linux kernel version 5.6.0
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii pptp-linux 1.10.0-1build1 amd64 Point-to-Point Tunneling Protocol (PPTP) Client
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-2 amd64 collection of bootloaders (DOS FAT and NTFS bootloader)
ii syslinux-common 3:6.04~git20190206.bf6db5b4+dfsg1-2 all collection of bootloaders (common)
ii syslinux-legacy 2:3.63+dfsg-2ubuntu9 amd64 Bootloader for Linux/i386 using MS-DOS floppies
ii util-linux 2.34-0.1ubuntu9 amd64 miscellaneous system utilities
ii zfsutils-linux 0.8.3-1ubuntu12 amd64 command-line tools to manage OpenZFS filesystems

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.13
ProcVersionSignature: Ubuntu 5.6.0-1007.7-oem 5.6.2
Uname: Linux 5.6.0-1007-oem x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 17 11:42:13 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2020-04-17 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200417)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Iain Lane (laney) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Apr 17 09:31:28 ubuntu ubiquity: Removing linux-generic-hwe-20.04 (5.4.0.24.29) ...#015
Apr 17 09:32:39 ubuntu ubiquity: Selecting previously unselected package linux-generic-hwe-20.04.#015
Apr 17 09:32:39 ubuntu ubiquity: Preparing to unpack .../6-linux-generic-hwe-20.04_5.4.0.24.29_amd64.deb ...#015
Apr 17 09:32:39 ubuntu ubiquity: Unpacking linux-generic-hwe-20.04 (5.4.0.24.29) ...#015
Apr 17 09:32:43 ubuntu ubiquity: Setting up linux-generic-hwe-20.04 (5.4.0.24.29) ...#015

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

so we remove it, then install again?!

Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-20.04
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 20.04.14

---------------
ubiquity (20.04.14) focal; urgency=medium

  * check-kerenls: only set `install_new` for newly installed
    kernels. compatible list is for the running/preinstalled ones
    only. LP: #1873434

 -- Dimitri John Ledkov <email address hidden> Fri, 17 Apr 2020 15:59:46 +0100

Changed in ubiquity (Ubuntu Focal):
status: New → 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.