Gimp not working

:~$ 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
-----)

I’m having the same problem with Cawbird snap. I can’t remove it nor do refresh.

Hi folks, can you try running the following commands for the affected snap:

sudo /usr/lib/snapd/snap-discard-snap-ns $SNAP_NAME
snap run $SNAP_NAME
snap refresh $SNAP_NAME

if that still doesn’t work, please run the following:

SNAP_CONFINE_DEBUG=1 snap run $SNAP_NAME

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

1 Like

sorry for the typo, but yes glad that fixed it for you