Also happening to me. I uninstalled GIMP 2.10 via snap, as it was crashing when I tried to start it. Then get a similar error when attempting to install again.
Also happening to me. I uninstalled GIMP 2.10 via snap, as it was crashing when I tried to start it. Then get a similar error when attempting to install again.