Comment 3 for bug 2049785

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Thank you again for figuring this one out!

> unsure why those systems have an updated update-manager but an old ubuntu-advantage-tools?

I can't think of anything either other than a manual 'apt udpate; apt install update-manager'.

> we should still handle the case where the client doesn't return the a valid json output, either by catching the exception or by backporting the switch to use the proper python api

If it is indifferent, then I'm going with the latter since we already did it for 24.04. The documentation says it raises no exceptions[1].

I'll open the merge request once I have it tested.

[1] https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/references/api/#u-pro-packages-updates-v1