[Bug 2068805] Re: [SRU] "Install Now" button disappears for good if all packages unselected and Ubuntu Pro packages are shown but unavailable

Chris Halse Rogers 2068805 at bugs.launchpad.net
Wed Apr 30 06:51:52 UTC 2025


Hello Tormod, or anyone else affected,

Accepted update-manager into noble-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:24.04.12 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-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. 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.

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

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

Title:
  [SRU] "Install Now" button disappears for good if all packages
  unselected and Ubuntu Pro packages are shown but unavailable

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Committed
Status in update-manager source package in Bionic:
  Fix Committed
Status in update-manager source package in Focal:
  Confirmed
Status in update-manager source package in Jammy:
  Confirmed
Status in update-manager source package in Noble:
  Fix Committed
Status in update-manager source package in Oracular:
  Fix Committed

Bug description:
  [Impact]

  If one deselects all packages, the "Install Now" button disappears,
  which makes sense (on another note it would make even more sense if it
  was simply grayed out). However when one or more packages are then re-
  selected, the button won't ever reappear, and update-manager must be
  restarted in order to upgrade any packages.

  [Test case]

  For each affected $series:

  * If 'apt list --upgradable' is empty, downgrade any one package in your system.
  * sudo ua detach --assume-yes
  * sudo apt install hello
  * update-manager
  * Verify at least one update is available, and the hello package is unavailable under the 'Ubuntu Pro security updates' section
  * De-select all available packages
  * Verify the 'install now' button disappears
  * Select at least one available package
  * Verify the 'install now' button is still absent
  * Close the window

  * Enable proposed (see https://wiki.ubuntu.com/Testing/EnableProposed)
  * sudo apt install -t $series-proposed update-manager

  * update-manager
  * Verify at least one update is available, and the hello package is unavailable under the 'Ubuntu Pro security updates' section
  * De-select all available packages
  * Verify the 'install now' button disappears
  * Select at least one available package
  * Verify the 'install now' button is now visible again

  [Where things could go wrong]

  Things could go wrong with the 'install now' button. It should be
  visible when there is any available package selected and not visible
  when there is none selected. So a regression could appear as the user
  no longer being able install packages via this program, or being able
  to click "install now" with no packages selected to be installed. In
  any case, since this program is essentially a wrapper of Apt, all the
  package management functionality, including upgrading, would still be
  avaialable through Apt.

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




More information about the foundations-bugs mailing list