If I modify the postinst with set -x, I'm able to see that the traceback
is from this:
+ /usr/bin/python3 -c
import os
import json
from uaclient.config import UAConfig
cfg = UAConfig()
status = cfg.read_cache('status-cache')
if status:
for service in status['services']:
if service['name'] == 'esm-apps':
print(service['status'])
Traceback (most recent call last):
File "<string>", line 10, in <module>
KeyError: 'status'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951705
Title:
traceback from postinst on upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1951705/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs