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

Timo Aaltonen 2107458 at bugs.launchpad.net
Fri Jun 13 14:44:34 UTC 2025


Hello Bin, or anyone else affected,

Accepted ubiquity into jammy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/ubiquity/22.04.21 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 on 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, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubiquity (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-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