Public bug reported: When trying to purge the installed snapd package, I get the following failure.
The following packages will be REMOVED: snapd* 0 upgraded, 0 newly installed, 1 to remove and 30 not upgraded. After this operation, 67.6 MB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 191429 files and directories currently installed.) Removing snapd (2.37.4+18.04.1) ... Processing triggers for mime-support (3.60ubuntu1) ... (Reading database ... 191368 files and directories currently installed.) Purging configuration files for snapd (2.37.4+18.04.1) ... Stopping snap-core-6350.mount Stopping unit snap-core-6350.mount Waiting until unit snap-core-6350.mount is stopped [attempt 1] snap-core-6350.mount is stopped. Removing snap core and revision 6350 find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove the current directory from your $PATH (that is, remove ".", doubled colons, or leading or trailing colons) dpkg: error processing package snapd (--purge): installed snapd package post-removal script subprocess returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) This is from a fresh bionic install: Description: Ubuntu 18.04.2 LTS Release: 18.04 ** Affects: snapd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821834 Title: snapd can't be cleanly removed in bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1821834/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs