I'm using the ua tool (version 27.7~16.04.1). I'm unable to enable the esm-infra service because a couple of the packages that I have installed have been completely removed from the launchpad server. Specifically:
When I remove these package definitions from /etc/apt/sources.list.d/ the command succeeds.
I've attached a log file that includes this stack trace.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1629, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1725, in main
return args.action(args, cfg=cfg)
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 480, in action_fix
fix_status = security.fix_security_issue_id(cfg, args.security_issue)
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 607, in fix_security_issue_id
usn_released_pkgs=usn_released_pkgs,
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 982, in prompt_for_affected_packages
num_pkgs=count,
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 872, in _handle_released_package_fixes
cfg, binary_pkgs, pocket
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 1223, in upgrade_packages_and_attach
if not _check_subscription_for_required_service(pocket, cfg):
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 1139, in _check_subscription_for_required_service
if _prompt_for_enable(cfg, ent.name):
File "/usr/lib/python3/dist-packages/uaclient/security.py", line 1118, in _prompt_for_enable
cfg,
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 200, in new_f
if cmd_args.format == "json" and not cmd_args.assume_yes:
AttributeError: 'Namespace' object has no attribute 'format'
I'm using the ua tool (version 27.7~16.04.1). I'm unable to enable the esm-infra service because a couple of the packages that I have installed have been completely removed from the launchpad server. Specifically:
deb http:// ppa.launchpad. net/jonathonf/ ffmpeg- 3/ubuntu xenial main ppa.launchpad. net/jonathonf/ python- 3.6/ubuntu xenial main
deb http://
When I remove these package definitions from /etc/apt/ sources. list.d/ the command succeeds.
I've attached a log file that includes this stack trace.
Traceback (most recent call last): python3/ dist-packages/ uaclient/ cli.py" , line 1629, in wrapper python3/ dist-packages/ uaclient/ cli.py" , line 1725, in main python3/ dist-packages/ uaclient/ cli.py" , line 480, in action_fix fix_security_ issue_id( cfg, args.security_ issue) python3/ dist-packages/ uaclient/ security. py", line 607, in fix_security_ issue_id released_ pkgs=usn_ released_ pkgs, python3/ dist-packages/ uaclient/ security. py", line 982, in prompt_ for_affected_ packages python3/ dist-packages/ uaclient/ security. py", line 872, in _handle_ released_ package_ fixes python3/ dist-packages/ uaclient/ security. py", line 1223, in upgrade_ packages_ and_attach subscription_ for_required_ service( pocket, cfg): python3/ dist-packages/ uaclient/ security. py", line 1139, in _check_ subscription_ for_required_ service for_enable( cfg, ent.name): python3/ dist-packages/ uaclient/ security. py", line 1118, in _prompt_for_enable python3/ dist-packages/ uaclient/ cli.py" , line 200, in new_f assume_ yes:
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return args.action(args, cfg=cfg)
File "/usr/lib/
fix_status = security.
File "/usr/lib/
usn_
File "/usr/lib/
num_pkgs=count,
File "/usr/lib/
cfg, binary_pkgs, pocket
File "/usr/lib/
if not _check_
File "/usr/lib/
if _prompt_
File "/usr/lib/
cfg,
File "/usr/lib/
if cmd_args.format == "json" and not cmd_args.
AttributeError: 'Namespace' object has no attribute 'format'