Snap refuses to launch applications

Hi,
I’ve installed vscode and vlc via snap commands and each time I launch them, 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!

What distro are you running?

the output of snap version would be helpful…

Ubuntu live 18.04.1 LTS

Snaps are not supported to be installed on the live environment.

snap 2.35
snapd 2.35
series 16
ubuntu 18.04
kernel 4.15.0-29-generic

Even in live with persistence data?

Hi guys.

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.

It shall be good also if someone can show us how to activate permanently apparmor

1 Like