Public bug reported: 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 deb http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial main 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' ** Affects: ubuntu-advantage-tools (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Log file with stack trace" https://bugs.launchpad.net/bugs/1969809/+attachment/5582153/+files/UA-Bug.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969809 Title: ua fails if any package removed from server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1969809/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs