[Bug 2107458] Re: [SRU] Fix offline installation failure on certified systems, regarding oem to generic-hwe kernel transition

Yao Wei 2107458 at bugs.launchpad.net
Mon Jun 16 02:33:11 UTC 2025


Validating this issue on Dell Precision 5680 and Ubuntu 22.04.5 desktop
image:

 * Use Ubuntu 22.04.5 installer image and start the live installer on
the system which can reproduce the issue

 * Confirm the issue is reproducible on the system by attempting to
finish the installation offline.

This issue is confirmed reproducible (installer crashed at the end of
the installation) on Dell Precision 5680 laptop.

 * Restart the installer and connect to the internet and upgrade
ubiquity in the live system to -proposed

Updated ubiquity, ubiquity-frontend-gtk, ubiquity-ubuntu-artwork to
22.04.21

 * Disconnect the internet and see whether the installer can finish.

Installation finished on the system.

 * On installed environment, ensure the followings:
   * Check whether linux-oem-22.04 is installed to confirm whether the OEM kernel is specified
   * Check the actual kernel is generic-hwe by `uname -a`

linux-oem-22.04 metapackage is installed, and by `uname -a` the actual
kernel used is 6.8.0-40-generic, consider issue fixed per above result.

 * Having a regression test by finishing installation on an non-
certified platform with updated ubiquity.

I've tested a Dell XPS 13 9340, although this platform is listed as a
certified platform, the image does not contain the metapackage for it so
the bug does not trigger.  It can finish the installation. Although it
has a PSR2 related display glitches throughout installation and desktop
experience (Bug: #2046315), it can be fixed by updating the system after
the installation, and is unrelated in this package.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2107458

Title:
  [SRU] Fix offline installation failure on certified systems, regarding
  oem to generic-hwe kernel transition

Status in OEM Priority Project:
  In Progress
Status in ubiquity:
  New
Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Jammy:
  Fix Committed
Status in ubiquity source package in Noble:
  Invalid

Bug description:
  [ Impact ]

   * On 22.04 certified systems, Ubuntu 22.04.5 image failed to finish
  the installation offline, due to oem to generic-hwe kernel transition.

   * This SRU addresses the issue by preventing the removal of generic-
  hwe kernel during the installation.

  [ Test Plan ]

   * Use Ubuntu 22.04.5 installer image and start the live installer on
  the system which can reproduce the issue

   * Confirm the issue is reproducible on the system by attempting to
  finish the installation offline.

   * Restart the installer and connect to the internet and upgrade
  ubiquity in the live system to -proposed

   * Disconnect the internet and see whether the installer can finish.

   * On installed environment, ensure the followings:
     * Check whether linux-oem-22.04 is installed to confirm whether the OEM kernel is specified
     * Check the actual kernel is generic-hwe by `uname -a`

   * Having a regression test by finishing installation on an non-
  certified platform with updated ubiquity.

  [ Where problems could occur ]

   * This will affect the installation of Ubuntu systems mainly on
  certified systems using 22.04 images, worst case is that we could
  produce an unusable installer image.

  [ Other Info ]

   * We also contacted Release Management team so that after the SRU has
  been passed we can publish a new image to address this issue.

  == Original Report ==

  Start the install process without a network, it will crash at the end.

  DistroRelease: Ubuntu 22.04.5
  Package: ubiquity 22.04.20
  kernel: 6.8.0-40-generic
  Platform: ThinkPad P1 Gen 6, https://ubuntu.com/certified/202307-31850

  And this issue is also on HP's platform.

  https://askubuntu.com/questions/1541904/ubuntu-22-04-installer-
  crashes-at-end-of-installation/1545852

  Apr  8 15:29:43 ubuntu finish-install: W: Some index files failed to download. They have been ignored, or old ones used instead.
  Apr  8 15:29:43 ubuntu plugininstall.py: Exception during installation:
  Apr  8 15:29:43 ubuntu plugininstall.py: Traceback (most recent call last):
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 1856, in <module>
  Apr  8 15:29:43 ubuntu plugininstall.py:     install.run()
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 61, in wrapper
  Apr  8 15:29:43 ubuntu plugininstall.py:     func(self)
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 252, in run
  Apr  8 15:29:43 ubuntu plugininstall.py:     self.install_restricted_extras()
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/share/ubiquity/plugininstall.py", line 1273, in install_restricted_extras
  Apr  8 15:29:43 ubuntu plugininstall.py:     self.do_install(packages)
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 956, in do_install
  Apr  8 15:29:43 ubuntu plugininstall.py:     mark_install(cache, to_install)
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 564, in mark_install
  Apr  8 15:29:43 ubuntu plugininstall.py:     apt.ProblemResolver(cache).resolve_by_keep()
  Apr  8 15:29:43 ubuntu plugininstall.py:   File "/usr/lib/python3/dist-packages/apt/cache.py", line 834, in resolve_by_keep
  Apr  8 15:29:43 ubuntu plugininstall.py:     self._resolver.resolve_by_keep()
  Apr  8 15:29:43 ubuntu plugininstall.py: apt_pkg.Error: E:Unable to correct problems, you have held broken packages.
  Apr  8 15:29:43 ubuntu plugininstall.py:ยท

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2107458/+subscriptions




More information about the foundations-bugs mailing list