9

I've been trying to install a couple of apps using sudo snap install <nameofapp> But whenever I try this I always get the same error:

error: cannot communicate with server: Post http://localhost/v2/snaps/standard-notes: dial unix /run/snapd.socket: connect: no such file or directory

I'm on MXLINUX please help

Shadoww
  • 111
  • 1
  • 1
  • 6

2 Answers2

12

I am working with a Debian system (5.5.0-kali1-amd64 #1 SMP Debian 5.5.13-2kali1 (2020-04-03) x86_64 GNU/Linux) ).

I found that when I tried to install notepad++. I got the same error. These command worked for me. Hope they do for you.

sudo service snapd start
sudo systemctl start snapd.service
sudo snap install notepad-plus-plus
Sadeq Dousti
  • 3,346
  • 6
  • 35
  • 53
sgt787
  • 136
  • 2
  • 4
1
sudo apt-get install snapd 

service snapd start

sudo snap install notepad-plus-plus --edge

You will get updated Notepad++

Roman Marusyk
  • 23,328
  • 24
  • 73
  • 116