Attaching an Ubuntu Pro key fails when snapd is withheld

Bug #1998030 reported by Aoyan Sarkar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I held snapd because I do not use snapd and do not like it existing. However, Ubuntu Pro attempts to install/update snapd, which breaks since I held it.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-advantage-tools 27.11.3~22.04.1
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Nov 26 20:56:03 2022
InstallationDate: Installed on 2022-04-30 (210 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt: none
jobs-status.json: {"update_messaging": {"last_run": "2022-11-26T21:43:29+00:00", "next_run": "2022-11-27T03:43:29+00:00"}, "update_status": {"last_run": "2022-11-26T15:16:29+00:00", "next_run": "2022-11-27T03:16:29+00:00"}, "metering": {"last_run": "2022-11-26T21:43:29+00:00", "next_run": "2022-11-27T01:43:29+00:00"}}
livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'.

Revision history for this message
Aoyan Sarkar (sarkaraoyan) wrote :
Revision history for this message
Renan Rodrigo (renanrodrigo) wrote :

Hello, Aoyan, thanks for reporting.
This is a known bug and we are on it. I am marking it as a duplicate of the known bug.

The Client tries to install snapd when enabling Livepatch (which requires it). Livepatch is auto-enabled on attach for most of the accounts.
While we work on the fix, you can:
- enable with `pro attach <your_token> --no-auto-enable`
- enable other services, such as ESM, but do not enable Livepatch.

information type: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.