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.
Best Answer
I suggest you to try reinstalling the package hello and then run:
If this does not work, you should try reinstalling Snap and refreshing the snap core using: