I got this when running snap refresh
$ sudo snap refresh
error: cannot perform the following tasks:
- Run configure hook of "chromium" snap if present (run hook "configure": /snap/chromium/2020/snap/command-chain/hooks-configure-desktop: line 34: /var/snap/chromium/common/fontconfig/fonts.conf: Permission denied)
$ sudo snap refresh chromium --classic
error: cannot perform the following tasks:
- Run configure hook of "chromium" snap if present (run hook "configure": /snap/chromium/2020/snap/command-chain/hooks-configure-desktop: line 34: /var/snap/chromium/common/fontconfig/fonts.conf: Permission denied)
Also tried chown that directory to my own user, but it still the same, my current installed list:
snap list 130 ↵
Name Version Rev Tracking Publisher Notes
androidsdk 1.1.2.1 50 latest/stable quasarrapp -
bare 1.0 5 latest/stable canonical✓ base
chromium 99.0.4844.51 1926 latest/stable canonical✓ -
core 16-2.56.2 13425 latest/stable canonical✓ core
core18 20220428 2409 latest/stable canonical✓ base
core20 20220527 1518 latest/stable canonical✓ base
flutter 0+git.1586a01 126 latest/stable flutter-team✓ classic
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 161 latest/stable canonical✓ -
gnome-3-34-1804 0+git.3556cb3 77 latest/stable canonical✓ -
gnome-3-38-2004 0+git.891e5bc 112 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
multipass 1.9.2 7416 latest/stable canonical✓ -
snapd 2.56.2 16292 latest/stable canonical✓ snapd
zig 0.9.1 4722 latest/beta jayschwa classic
how to fix this issue? the error message seems hard to google (can't find anything).
0 Answers