VS code on ubuntu 18.04

ChrainY發表於2024-06-20

uceec00@ubuntu:~$ code
missing profile snap.code.code.
Please make sure that the snapd.apparmor service is enabled and started

solution:

uceec00@ubuntu:~$ sudo systemctl start snapd.apparmor
Failed to start snapd.apparmor.service: Unit snapd.apparmor.service not found.
uceec00@ubuntu:~$ sudo systemctl start apparmor

reference:
https://stackoverflow.com/questions/70053614/snap-confine-has-elevated-permissions-and-is-not-confined-but-should-be-refusin

相關文章