I have been trying to install Snapcraft
inside of ubuntu 16.04. When I try to install it with:
snap install snapcraft --classic --beta
I get the error message:
error: cannot communicate with server: Post http://localhost/v2/snaps/snapcraft: dial unix /run/snapd.socket: connect: no such file or directory
Installing with apt install snapcraft
works fine but I need some features that are on the edge channel of the snap.