I am trying to install heroku cli using
sudo snap install heroku --classic
The command line says
error: cannot communicate with server: Post http://localhost/v2/apps: dial unix /run/snapd.socket: connect: no such file or directory
systemctl status snapd.service this is the result :
snapd.service Loaded: masked (/dev/null; bad) Active: inactive (dead)
systemctl restart snapd.service it says:
Failed to restart snapd.service: Unit snapd.service is masked.
Any help on above problem in appreciated. Thanks.