This piece of terminal output is interesting: Waiting until unit snap-lxd-9664.mount is stopped [attempt 19] Waiting until unit snap-lxd-9664.mount is stopped [attempt 20] Removing snap lxd and revision 9664 rm: cannot remove '/var/snap/lxd/common/ns/shmounts': Device or resource busy dpkg: error processing package snapd (--purge): installed snapd package post-removal script subprocess returned error exit status 1
So even though the lxd daemon was stopped at the beginning, it did not clean up properly (or was there a container still running?). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805874 Title: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1805874/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs