With repeat finding of vulnerabilities in Zorin provided software such as the kernel i'm looking to enable livepatch.
This requires installation of ubuntu-advantage-tools, which is available as part of Zorin OS since this is essentially Ubuntu Focal.
However, when executing the command to enable Ubuntu advantage there is an error which is not documented and cannot be resolved.
ua attach <myuakey>
results in
Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools
when filing the bug
ubuntu-bug ubuntu-advantage-tools
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.............
*** Problem in ubuntu-advantage-tools
The problem cannot be reported:
This is not an official Zorin package. Please remove any third party package and try again.
Press any key to continue...
No pending crash reports. Try --help for more information.
when looking at the log it shows
cat /var/log/ubuntu-advantage.log
2021-11-21 17:32:27,730 - cli.py:(1528) [DEBUG]: Executed with sys.argv: ['/usr/bin/ua', 'attach', '']
2021-11-21 17:32:27,730 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,730 - config.py:(523) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,731 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,731 - config.py:(523) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,731 - util.py:(700) [DEBUG]: Writing file: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,731 - util.py:(700) [DEBUG]: Writing file: /var/lib/ubuntu-advantage/private/lock
2021-11-21 17:32:27,731 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,731 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,731 - config.py:(523) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,731 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,731 - config.py:(523) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,731 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,732 - config.py:(523) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/private/machine-token.json
2021-11-21 17:32:27,732 - util.py:(429) [DEBUG]: Reading file: /etc/machine-id
2021-11-21 17:32:27,732 - util.py:(429) [DEBUG]: Reading file: /etc/os-release
2021-11-21 17:32:27,732 - util.py:(429) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,732 - util.py:(710) [DEBUG]: Removing file: /var/lib/ubuntu-advantage/notices.json
2021-11-21 17:32:27,732 - cli.py:(1499) [ERROR]: Unhandled exception, please file a bug
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1458, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1544, in main
return args.action(args, cfg=cfg)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 203, in new_f
return f(args, cfg=cfg)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 166, in new_f
return f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 147, in new_f
retval = f(*args, cfg=cfg, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1107, in action_attach
return _attach_with_token(
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 999, in _attach_with_token
contract.request_updated_contract(
File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 443, in request_updated_contract
contract_client.request_contract_machine_attach(
File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 76, in request_contract_machine_attach
data = self._get_platform_data(machine_id)
File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 276, in _get_platform_data
platform = util.get_platform_info()
File "/usr/lib/python3/dist-packages/uaclient/util.py", line 339, in get_platform_info
raise RuntimeError(
RuntimeError: Could not parse /etc/os-release VERSION: 16 (modified to 16)