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 | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Upgrading from 18.04 to 20.04 yielded this failure.
Note this is within a container in the first place, and LXD isn't in use inside.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lxd 3.0.3-0ubuntu1~
Uname: Linux 5.9.0-4-amd64 x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Thu Oct 14 09:34:36 2021
ErrorMessage: new lxd package pre-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: lxd
Title: package lxd 3.0.3-0ubuntu1~
UpgradeStatus: Upgraded to focal on 2021-10-14 (0 days ago)
- Setup snap "snapd" (13170) security profiles (cannot reload udev rules: exit status 1
Was that a privileged LXD container (security. privileged= true)?
If so, I believe that's a known (and still unfixed) issue with snapd inside such containers.