[Merge] ~nteodosio/update-manager:bionic-ua into update-manager:ubuntu/bionic

Nathan Teodosio mp+459157 at code.launchpad.net
Mon Jan 22 11:45:20 UTC 2024


Nathan Teodosio has proposed merging ~nteodosio/update-manager:bionic-ua into update-manager:ubuntu/bionic.

Requested reviews:
  Sebastien Bacher (seb128)

For more details, see:
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/459157

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/bionic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 1180 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20240122/c571f889/attachment.diff>


More information about the Ubuntu-reviews mailing list