On Ubuntu 20.04 I can’t start Gimp anymore. I get the following error message:
ln: failed to create symbolic link '/home/fkeclik/snap/gimp/273/.config/gtk-2.0/gtkfilechooser.ini': File exists
/snap/gimp/273/usr/bin/gimp: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
When I want to remove gimp:
error: cannot perform the following tasks:
- Disconnect gimp:sound-themes from gtk-common-themes:sound-themes (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 think I know why this happens and ironically it’s something we just discussed as something to fix. Thank you! If it happens the next time you know what to do. I will try to get it fixed in the next two releases.
Fyi, I saw this with the firefox snap yesterday as well. It was for a gtk3 library so I figured it had to do with the mount namespace and the content interface. snap-discard-ns fixed it (snap changes has since rotated those things away).