If you are getting this error when installing snapd and trying to run it on Linux, it’s likely because you are trying to do it on a virtual server (VPS). If this is the case, the server you are running on may be an OpenVZ or LXC container and not a real server, so you won’t be able to install snapd.
read more