M HYPE SPLASH
// general

Cannot run snap app

By John Peck

I have successfully installed snapd on Ubuntu 16.04 but while running the app, say snap run hello I am getting the following error:

cannot create lock directory /run/snapd/lock: Permission denied

I have tried the following

sudo apparmor_parser --replace --write-cache /etc/apparmor.d/usr.lib.snapd.snap-confine.real --cache-loc /etc/apparmor.d/cache

but did not work even after restart. I am not able to run any snap app though able to install any apps.

The snapd service is also running. But still even after reboot, the problem remains the same.

1

1 Answer

I suggest you to try reinstalling the package hello and then run:

sudo snap run hello

If this does not work, you should try reinstalling Snap and refreshing the snap core using:

sudo snap refresh core
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy