[Merge] ~nteodosio/update-manager:xenial-ua into update-manager:ubuntu/xenial
Nathan Teodosio
mp+459164 at code.launchpad.net
Mon Jan 22 12:36:21 UTC 2024
Nathan Teodosio has proposed merging ~nteodosio/update-manager:xenial-ua into update-manager:ubuntu/xenial.
Requested reviews:
Sebastien Bacher (seb128)
For more details, see:
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/459164
Fix the crash caused by incomplete response of the 'ua security-status' when ubuntu-advantage-tools (UAT) is an older version.
As the documentation[1] states, this call returns no exceptions, so in my opinion it is simpler to switch to it than patching our old call to security-status.
However, this crash would also occur by using the version 27 of the API, so the effective fix here is to force ubuntu-advantage-tools >= 30.
Note that we already use the API in Noble[2].
[1] https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/references/api/#u-pro-packages-updates-v1
[2] https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/456088
--
Your team Ubuntu Core Development Team is subscribed to branch update-manager:ubuntu/xenial.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 4416 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20240122/107ec030/attachment.diff>
More information about the Ubuntu-reviews
mailing list