Version: 2.37.4-1+b1 Now trying to purge snapd leads directly to an error:
$ sudo apt purge snapd Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: snapd* 0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded. After this operation, 61.0 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 394506 files and directories currently installed.) Removing snapd (2.37.4-1+b1) ... Processing triggers for mime-support (3.62) ... Processing triggers for gnome-menus (3.31.4-3) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ... (Reading database ... 394456 files and directories currently installed.) Purging configuration files for snapd (2.37.4-1+b1) ... Stopping snap-core-8039.mount Stopping unit snap-core-8039.mount Waiting until unit snap-core-8039.mount is stopped [attempt 1] snap-core-8039.mount is stopped. Removing snap core and revision 8039 Removing snap-core-8039.mount Final directory cleanup Discarding preserved snap namespaces Removing extra snap-confine apparmor rules Removing snapd cache rm: cannot remove '/var/cache/snapd/aux': Is a directory dpkg: error processing package snapd (--purge): installed snapd package post-removal script subprocess returned error exit status 1 Errors were encountered while processing: snapd E: Sub-process /usr/bin/dpkg returned an error code (1)