Looks like this happened inside a privileged LXD container, or at least
the snapd error matches what you'd get in such a case.
The issue is in snapd and has been resolved recently. If such an error
occurs, re-trying should succeed.
** Changed in: lxd (Ubuntu)
Status: Confirmed => Fix
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: lxd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860859
Title:
** Tags removed: need-duplicate-check
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860859
Title:
package lxd 3.0.3-0ubuntu1~18.04.1 failed to install/upgrade: new lxd
package pre-installation