[SRU] "Install Now" button disappears for good if all packages unselected and Ubuntu Pro packages are shown but unavailable
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| update-manager (Ubuntu) |
Fix Released
|
Medium
|
Nathan Teodosio | ||
| Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
| Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
| Focal |
Fix Committed
|
Undecided
|
Unassigned | ||
| Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
| Noble |
Fix Released
|
Undecided
|
Unassigned | ||
| Oracular |
Fix Released
|
Undecided
|
Unassigned | ||
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:/
* 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.
Related branches
- Dave Jones: Approve
-
Diff: 36 lines (+9/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- John Breton (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 36 lines (+9/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- John Breton (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 36 lines (+9/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- Dave Jones: Approve
-
Diff: 36 lines (+9/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- Dave Jones: Approve
-
Diff: 33 lines (+4/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+2/-0)
- Dave Jones: Approve
-
Diff: 36 lines (+9/-1)2 files modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- Sebastien Bacher: Approve
-
Diff: 21 lines (+2/-1)1 file modifiedUpdateManager/UpdatesAvailable.py (+2/-1)
| tags: | added: noble |
| description: | updated |
| Changed in update-manager (Ubuntu): | |
| status: | Incomplete → New |
| Changed in update-manager (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | Undecided → Medium |
| assignee: | nobody → Nathan Teodosio (nteodosio) |
| summary: |
- "Install Now" button disappears for good if all packages unselected + "Install Now" button disappears for good if all packages unselected and + Ubuntu Pro packages are shown but unavailable |
| Changed in update-manager (Ubuntu): | |
| status: | Triaged → Fix Committed |
| Changed in update-manager (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in update-manager (Ubuntu Oracular): | |
| status: | New → Confirmed |
| description: | updated |
| summary: |
- "Install Now" button disappears for good if all packages unselected and - Ubuntu Pro packages are shown but unavailable + [SRU] "Install Now" button disappears for good if all packages + unselected and Ubuntu Pro packages are shown but unavailable |

You say "update-manager 1:24.04.6 (Ubuntu 20.04)" but tagged the bug Noble, can you please correct that?