Public bug reported:

Issue occurs when performing a 'do-release-upgrade' from 18.04 to 19.04
within a WSL 1.0 environment.

According to the GitHub issue below, this is because wsl 1.0 cannot
support lxd.

https://github.com/Microsoft/WSL/issues/3664

After aborting the lxd install the upgrade finished with a single error
and a working system with broken lxd.

The following workaround finishes the upgrade:

sudo dpkg --force-depends --purge lxd lxd-client
sudo apt-get upgrade -y

ProblemType: Package
DistroRelease: Ubuntu 19.04
Package: lxd 3.0.3-0ubuntu1~18.04.1
ProcVersionSignature: Microsoft 4.4.0-18362.1-Microsoft 4.4.35
Uname: Linux 4.4.0-18362-Microsoft x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
Date: Mon Nov 11 20:00:17 2019
Dmesg: [    0.012443]  Microsoft 4.4.0-18362.1-Microsoft 4.4.35
ErrorMessage: new lxd package pre-installation script subprocess returned error 
exit status 1
Python3Details: /usr/bin/python3.7, Python 3.7.3, python3-minimal, 3.7.3-1
PythonDetails: /usr/bin/python2.7, Python 2.7.16, python-minimal, 2.7.16-1
RelatedPackageVersions:
 dpkg 1.19.6ubuntu1.1
 apt  1.8.3
SourcePackage: lxd
Title: 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
UpgradeStatus: Upgraded to disco on 2019-11-12 (0 days ago)

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package disco uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852156

Title:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1852156/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to