pro attaches but fails to enable services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Livepatch Client |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-advantage-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# pro attach [REDACTED]
Enabling default service esm-apps
Enabling default service esm-infra
Enabling default service livepatch
Stderr: error executing config: livepatchd error: snappy kernel-
Stdout:
Unable to configure Livepatch: Failed running command '/snap/
ERROR: Unable to configure Livepatch: Failed running command '/snap/
Failed to enable default services, check: sudo pro status
# pro status
SERVICE ENTITLED STATUS DESCRIPTION
cc-eal yes disabled Common Criteria EAL2 Provisioning Packages
cis yes disabled Security compliance and audit tools
esm-apps yes disabled Expanded Security Maintenance for Applications
esm-infra yes disabled Expanded Security Maintenance for Infrastructure
fips yes disabled NIST-certified core packages
fips-updates yes disabled NIST-certified core packages with priority security updates
livepatch yes disabled Canonical Livepatch service
ros yes disabled Security Updates for the Robot Operating System
ros-updates yes disabled All Updates for the Robot Operating System
For a list of all Ubuntu Pro services, run 'pro status --all'
Enable services with: pro enable <service>
Account: [REDACTED]
Subscription: Ubuntu Pro - free personal subscription
# pro enable esm-apps
One moment, checking your subscription first
Unexpected APT error. See /var/log/
Excerpt from log (perhaps related):
"DEBUG", "root", "subp", 640, "Failed running command '/usr/lib/
# ls -la /etc/apt/
total 8
drwxr-xr-x 2 root root 4096 maj 21 2019 .
drwxr-xr-x 7 root root 4096 sie 9 12:20 ..
# cat /etc/apt/
deb http://
deb http://
deb http://
deb http://
# deb-src http://
# deb-src http://
# deb-src http://
# deb-src http://
# apt update
Get:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Fetched 99,8 kB in 0s (145 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
# apt-cache policy ubuntu-
ubuntu-
Installed: 28.1~16.04
Candidate: 28.1~16.04
Version table:
*** 28.1~16.04 500
500 http://
100 /var/lib/
# apt-cache policy ubuntu-
ubuntu-
Installed: 28.1~16.04
Candidate: 28.1~16.04
Version table:
*** 28.1~16.04 500
500 http://
500 http://
100 /var/lib/
27.5~16.04.1 500
500 http://
500 http://
If I can provide any further relevant info just let me know what you need.