[Bug 2068805] Re: [SRU] "Install Now" button disappears for good if all packages unselected and Ubuntu Pro packages are shown but unavailable
Nathan Teodosio
2068805 at bugs.launchpad.net
Wed Mar 19 11:26:08 UTC 2025
Thank you, Dave, for sponsoring and for the thoughtful improvement
suggestions. You seem to have taken care of it all (yes I think for
Bionic and Xenial the process is special), and I edited the regression
section, but let me know if it is still lacking in any form.
** Description changed:
[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.
+ 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.
--
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. 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