Public bug reported:

After clicking "Install Now", the window shrinks to a narrow empty strip
(no progress bar, no text) and stays like that indefinitely. aptd never
receives a commit request, nothing is installed, and there is no
traceback in the journal.

System: Ubuntu 26.04.1 LTS, Dell Latitude 3520, GNOME on Wayland
update-manager 1:26.04.5, update-manager-core 1:26.04.5, aptdaemon 2.0.2build1

Condition: the update list contained an already-installed OEM metapackage that 
only needs an upgrade:
oem-somerville-meta 24.04ubuntu1 -> 26.04ubuntu1 (from 
http://dell.archive.canonical.com resolute/somerville)

Steps to reproduce:
1. Have an OEM metapackage installed (here oem-somerville-meta) with a newer 
version available.
2. Open Software Updater and click "Install Now".

Expected: the OEM metapackage is upgraded (or handed on to the regular install 
step) and the remaining updates are installed.
Actual: the progress pane stays empty forever; no transaction is started.

Analysis:
In ACTION_PRE_INSTALL, InstallBackend.start() 
(UpdateManager/backend/__init__.py) sorts the OEM metapackages into 
pkgs_install_oem (marked_install and not installed) and pkgs_upgrade_oem 
(marked_upgrade and upgradable), then calls self.commit_oem(pkgs_install_oem, 
pkgs_upgrade_oem).

UpdateManager/backend/InstallBackendAptdaemon.py, 1:26.04.5, lines
269-295:

    def commit_oem(self, pkgs_install_oem, pkgs_upgrade_oem):
        self.all_oem_packages = set(pkgs_install_oem) | set(pkgs_upgrade_oem)
        # Nothing to do? Go to the regular updates.
        try:
            if not pkgs_install_oem and not pkgs_upgrade_oem:
                self._action_done(
                    self.ACTION_PRE_INSTALL,
                    authorized=True,
                    success=True,
                    error_string=None,
                    error_desc=None,
                    trans_failed=None,
                )
                return

            if pkgs_install_oem:
                trans = yield self.client.install_packages(
                    pkgs_install_oem, defer=True
                )
                yield self._show_transaction(
                    trans,
                    self.ACTION_PRE_INSTALL,
                    _("Installing updates…"),
                    True,
                    on_finished_handler=self._update_oem,
                    progress_bar_max=0.1,
                )

When pkgs_install_oem is empty and pkgs_upgrade_oem is not, neither
branch runs: no transaction is created and _action_done() is never
called, so the pane is left empty and nothing proceeds. pkgs_upgrade_oem
is only used to compute all_oem_packages.

Running a second instance under dbus-run-session with tracing showed
start_available -> _start_pane(UpdatesAvailable) -> Install clicked ->
_start_pane(InstallBackendAptdaemon), followed by a 593x75 window with
empty progressbar_slot and button_cancel_slot and no further activity.

The same code is still present on main of
https://git.launchpad.net/update-manager (HEAD 42dedb4, "Release
1:27.04.1.", 2026-10-12); this logic has been unchanged since commit
9e5f1dc8 "List OEM metapackages" (2020-08-17). Bug #1910803 (empty
window after "Install" in 1:20.04.10.2, the release that added OEM
support) may be the same issue, but it has no OEM details.

Possible fix: if pkgs_install_oem is empty but pkgs_upgrade_oem is not,
either upgrade them in the pre-install step (e.g.
client.upgrade_packages(pkgs_upgrade_oem, ...)) or call
_action_done(ACTION_PRE_INSTALL, success=True) and let them be upgraded
with the regular updates.

Workaround: sudo apt install oem-somerville-meta
After that the package is no longer upgradable and Software Updater installs 
the remaining updates normally. The last successful run before the new OEM 
version appeared was 2026-11-09 21:51.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Software Updater hangs on an empty progress pane when an installed OEM
  metapackage only needs an upgrade (commit_oem has no branch for
  pkgs_upgrade_oem)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2173974/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to