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

Dave Jones 2068805 at bugs.launchpad.net
Mon Mar 17 22:34:47 UTC 2025


Sponsored for oracular, noble, jammy, and focal; removing ubuntu-
sponsors. Subscribing ubuntu-security to check bionic and xenial.

-- 
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:
  Confirmed
Status in update-manager source package in Bionic:
  Confirmed
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:
  Confirmed
Status in update-manager source package in Oracular:
  Confirmed

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.

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