Thursday, December 29, 2016

Applications installed with snap from 'Ubuntu Software Center' app store fail to launch - Ubuntu 19.04

Problem:



Applications Installed from the 'Ubuntu Software Center' app store, like Chromium and Visual Studio Code will not launch. Pre-installed applications like Firefox work fine. I got Chromium to work by uninstalling it from the store GUI and reinstalling it via the terminal with apt, so this leads me to think it might have something to do with snap package manager. I could theoretically install all my applications with apt from now on, but I'd like to use the app store.



Investigation:




After running "sudo tail -f /var/log/syslog" in the terminal and clicking on the Visual Studio Code Icon, it fails to launch and the terminal reports the following:



Jun  5 10:58:30 robby-zenbook gnome-shell[1716]: g_environ_setenv: assertion 'value != NULL' failed
Jun 5 10:58:30 robby-zenbook code_code.desktop[1716]: snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...