I'd like to remove Snap from my system entirely, but have a smallish problem:
1st, I removed all snap packages:
sudo snap remove $(snap list | tail -n +2 | cut -d" " -f1 | grep -v core | tr "/n" " ")
Then I removed snapd, and the gnome snap plugin
sudo apt remove -y snapd gnome-software-plugin-snap
The problem is that at reboot, Apparmor is looking for a profile for snap, and fails parsing snap configuration files:
Feb 21 21:40:47 dad apparmor: AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap-confine.core.5662 in /var/lib/snapd/apparmor/profiles/snap-confine.core.5662 at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine'
which leaves me with a running system, and no apparmor!