权限被拒绝 - 删除 Snap Gimp 包时

ART*_*res 1 permissions uninstall gimp delete snap

我想卸载gimp。我输入以下命令来执行此操作:

sudo snap remove gimp
Run Code Online (Sandbox Code Playgroud)

当我这样做时,我收到以下错误:

error: cannot perform the following tasks:
- Save data of snap "gimp" in automatic snapshot set #15 (cannot create archive: tar: 281/.config/GIMP/2.10/patterns/GPS-Pat: Cannot open: Permission denied (and 18 more))
Run Code Online (Sandbox Code Playgroud)

如果我尝试通过 GUI Ubuntu 软件中心删除 GIMP,也会收到权限错误

有人可以帮忙吗?

ART*_*res 5

最终解决了:

snap remove --purge gimp