Snap-store 无法创建目录‘/run/user/0’

Snap-store 无法创建目录‘/run/user/0’

22.04 LTS 经过一些更新:

sudo apt-get update
sudo apt-get upgrade

我无法打开 snap-store:

sudo snap-store
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Bus error

来自我的 journalctl -xe 的一些日志:

Aug 02 00:59:33  audit[4759]: AVC apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=4759 comm="s>
Aug 02 00:59:33  kernel: audit: type=1400 audit(1690927173.374:81): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/sn>
Aug 02 00:59:33  audit[4759]: AVC apparmor="DENIED" operation="capable" class="cap" profile="snap.snap-store.snap-store" pid=4759 comm="desktop-launch" cap>
Aug 02 00:59:33  audit[4782]: AVC apparmor="DENIED" operation="capable" class="cap" profile="snap.snap-store.snap-store" pid=4782 comm="desktop-launch" cap>
Aug 02 00:59:33  kernel: audit: type=1400 audit(1690927173.382:82): apparmor="DENIED" operation="capable" class="cap" profile="snap.snap-store.snap-store" >
Aug 02 00:59:33  kernel: audit: type=1400 audit(1690927173.382:83): apparmor="DENIED" operation="capable" class="cap" profile="snap.snap-store.snap-store" >
Aug 02 00:59:33  audit[4799]: AVC apparmor="DENIED" operation="mkdir" class="file" profile="snap.snap-store.snap-store" name="/run/user/0/" pid=4799 comm=">
Aug 02 00:59:33  kernel: audit: type=1400 audit(1690927173.418:84): apparmor="DENIED" operation="mkdir" class="file" profile="snap.snap-store.snap-store" n>
Aug 02 00:59:33  kernel: SQUASHFS error: lzo decompression failed, data probably corrupt
Aug 02 00:59:33  kernel: SQUASHFS error: Failed to read block 0xe29b5d5: -5
Aug 02 00:59:33  kernel: SQUASHFS error: lzo decompression failed, data probably corrupt
Aug 02 00:59:33  kernel: SQUASHFS error: Failed to read block 0xe29b5d5: -5
Aug 02 00:59:33  systemd[1]: snap.snap-store.snap-store.e9cef43a-2cc9-42f6-a39e-f8f22d3f1bc9.scope: Deactivated successfully.

有什么想法吗?谢谢

相关内容