package lxd (not installed) failed to install/upgrade: new lxd package pre-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
it failed when upgrading 18.04 to 20.04
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lxd (not installed)
ProcVersionSign
Uname: Linux 4.15.0-101-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
Date: Mon Jun 1 12:17:43 2020
ErrorMessage: new lxd package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-01-08 (874 days ago)
InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: lxd
Title: package lxd (not installed) failed to install/upgrade: new lxd package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-06-01 (0 days ago)
modified.
tags: | removed: need-duplicate-check |
Did you find a way around this?
If not, can you provide "systemctl -a"?
It looks like lxd was detected on the system but with the source daemon not running and unable to start which is rather unusual.
The package did the right thing in failing at that stage as moving forward could have caused dataloss but we'd need to understand how the system ended up in this weird state.