I am trying to install heroku cli using
sudo snap install heroku --classicThe command line says
error: cannot communicate with server: Post dial unix /run/snapd.socket: connect: no such file or directoryI tried systemctl status snapd.service this is the result :
snapd.service Loaded: masked (/dev/null; bad) Active: inactive (dead)I tried systemctl restart snapd.service it says:
Failed to restart snapd.service: Unit snapd.service is masked.Any help on above problem in appreciated. Thanks.
21 Answer
Unmask the snapd.service:
sudo systemctl unmask snapd.serviceEnable it:
sudo systemctl enable snapd.serviceStart it:
sudo systemctl start snapd.serviceThen try installing your desired app.
3