[Bug 2043425] Re: Details pane against unavailable Pro updates is misleading
Launchpad Bug Tracker
2043425 at bugs.launchpad.net
Thu Dec 7 22:06:36 UTC 2023
This bug was fixed in the package update-manager - 1:24.04.2
---------------
update-manager (1:24.04.2) noble; urgency=medium
* Fix linter warning that causes autopkgtest to fail.
* Drop call to ua security-status --format=json.
Use uaclient.api.u.pro.packages.updates.v1.updates instead.
-- Nathan Pratta Teodosio <nathan.teodosio at canonical.com> Wed, 22 Nov
2023 08:32:20 +0100
** Changed in: update-manager (Ubuntu Noble)
Status: In Progress => Fix Released
--
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/2043425
Title:
Details pane against unavailable Pro updates is misleading
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:
Fix Committed
Status in update-manager source package in Jammy:
Fix Released
Status in update-manager source package in Noble:
Fix Released
Bug description:
* Impact
If Pro is not enabled, then the details pane against a Pro update
misleads the user into believing that there is no update available.
Example of someone being misled:
https://inteltechniques.com/blog/2023/11/12/ubuntu-pro-shenanigans/
Expected results: either no details presented, or the actual details
of the potential Pro update presented
Actual results: a message that implies that there is no update
available for this package, Pro or not.
* Test Case
Install the update on a system not attached to Pro, select an update
in the Pro section, check the 'Version available' string, it should
reflect the version that would be installed if pro was enabled
* Regression potential
The change is in the code getting the available version to display, if
the logic was wrong it could lead to have the 'available version'
label being missing or incorrect. The code could hit an exception if
there was not non expected value
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2043425/+subscriptions
More information about the foundations-bugs
mailing list