Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i fix the snapd.socket no such file or directory error on MxLinux?

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

like image 941
Shadoww Avatar asked Jan 25 '26 23:01

Shadoww


2 Answers

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
like image 193
sgt787 Avatar answered Jan 28 '26 14:01

sgt787


sudo apt-get install snapd 

service snapd start

sudo snap install notepad-plus-plus --edge

You will get updated Notepad++

like image 42
Sojib Hossain Avatar answered Jan 28 '26 12:01

Sojib Hossain



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!