VS code on ubuntu 18.04

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

posted @ 2024-06-20 14:33  ChrainY  阅读(7)  评论(0编辑  收藏  举报