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

Launchpad Bug Tracker 2107458 at bugs.launchpad.net
Tue Jun 10 08:57:05 UTC 2025


** Merge proposal linked:
   https://code.launchpad.net/~medicalwei/ubiquity/+git/ubiquity/+merge/486831

-- 
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:
  Incomplete
Status in ubiquity source package in Jammy:
  In Progress
Status in ubiquity source package in Noble:
  Incomplete

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