I think the problem is in the postinst script, line 295:
cloud_id=""
if command -v "cloud-id" > /dev/null ; then
cloud_id=$(cloud-id)
fi
The third line should rather be:
cloud_id=$(cloud-id || true)
This way, an error reported by the cloud-id command is treated just like
if cloud-id is not available (which seems reasonable to me).
As a workaround, you can edit the file /var/lib/dpkg/info/ubuntu-
advantage-tools.postinst making this change and then run dpkg
--configure -a.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938097
Title:
ubuntu-advantage-tools upgrade fails configure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1938097/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs