:~$ sudo snap refresh
error: cannot perform the following tasks:
Setup snap “snapd” (8140) security profiles (cannot update mount namespace of snap “gimp”: cannot update preserved namespace of snap “gimp”:
update.go:85: cannot change mount namespace according to change unmount (/var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0): invalid argument
cannot update snap namespace: no such file or directory
-----)
Hi ijohnson, sudo: /usr/lib/snapd/snap-discard-snap-ns: command not found
I ran sudo /usr/lib/snapd/snap-discard-ns $SNAP_NAME instead, and yes, now I’m able to do the refresh. Thanks a lot for your support!
Radek