package lxd 3.0.3-0ubuntu1~18.04.1 failed to install/upgrade: new lxd package pre-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Occurred while upgrading to LTS 20
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lxd 3.0.3-0ubuntu1~
ProcVersionSign
Uname: Linux 4.15.0-128-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Sat Dec 26 20:41:10 2020
Ec2AMI: ami-ea87a78f
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t2.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ErrorMessage: new lxd package pre-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.2
SourcePackage: lxd
Title: package lxd 3.0.3-0ubuntu1~
UpgradeStatus: Upgraded to focal on 2020-12-26 (0 days ago)
modified.
tags: | removed: need-duplicate-check |
- Run install hook of "lxd" snap if present (run hook "install": /var/lib/snapd not root-owned 0:110)
That's a new one I've never seen before. This suggests that directory ownership for /var/lib/snapd is quite wrong on your system which in turn causes some snapd actions to fail.
I'll re-assign to snapd for investigation but it'd be useful if you could show `ls -lh /var/lib/` to see what's going on there.