** Description changed: running do-release-upgrade from ubuntu 18.04 to 20.04 i got this upgrade error for lxd ProblemType: Package DistroRelease: Ubuntu 20.04 Package: lxd 3.0.3-0ubuntu1~18.04.1 ProcVersionSignature: Ubuntu 4.15.0-99.100-generic 4.15.18 Uname: Linux 4.15.0-99-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.14 Architecture: amd64 Date: Tue May 5 22:08:32 2020 EcryptfsInUse: Yes ErrorMessage: new lxd package pre-installation script subprocess returned error exit status 1 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 RelatedPackageVersions: - dpkg 1.19.7ubuntu3 - apt 2.0.2 + dpkg 1.19.7ubuntu3 + apt 2.0.2 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 focal on 2020-05-05 (0 days ago) modified.conffile..etc.apparmor.d.usr.lib.lxd.lxd-bridge-proxy: [deleted] modified.conffile..etc.dnsmasq.d-available.lxd: [deleted] modified.conffile..etc.init.d.lxd: [deleted] modified.conffile..etc.logrotate.d.lxd: [deleted] modified.conffile..etc.sysctl.d.10-lxd-inotify.conf: [deleted] + + + [Impact] + The migration script which transitions users from the deb to the snap completes the migration by deleting the old directory. In cases where we have mountpoints in there the migration fails. With this change, we attempt to unmount those paths (but not fail should they be missing). + + [Test plan] + Ideally, get a system which has both /var/lib/lxd/shmounts and /var/lib/lxd/devlxd mounted (should be possible if a container is running) and then upgrade, confirm that no error is shown at the end of the upgrade. + + [Where problems could occur] + Can't really think of anything, the two unmounts run with "|| true" so at worst they should behave the same as without.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1876979 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/1876979/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs