Ubuntu – Snap refuses to launch applications

snap

I’ve installed vscode and vlc via snap commands and each time I launch them from the terminal, I got this message:

snap-confine has elevated permissions and is not confined but should
be. Refusing to continue to avoid permission escalation attacks

Any help please!

Best Answer

These steps help me resolve permanently my problem:

  • Remove snapd: sudo apt purge snapd snap-confine

  • Update: sudo apt update

  • Reinstall it: sudo apt install snapd

  • Check apparmor's status: systemctl status apparmor

  • If status inactive, then activate it: systemctl start apparmor

  • Now install any app you want via snap commands line

Remember, you must check and activate apparmor before installing any app.