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

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

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

sudo apt-get install snapd
service snapd start
sudo snap install notepad-plus-plus --edge
You will get updated Notepad++

Related

cannot communicate with server: Post http://localhost/v2/snaps/discord: dial unix /run/snapd.socket: connect: connection refused

I want to install discord via snap (Linux package format), but i get the following error:
cannot communicate with server: Post http://localhost/v2/snaps/discord: dial unix /run/snapd.socket: connect: connection refused
Don't know why ...
Maybe you don't have the snad service running
To start it onetimes do:
sudo systemctl start snapd
To enable that it always start with your system do:
sudo systemctl enable snapd
Unmask it:
sudo systemctl unmask snapd.service
Enable it:
sudo systemctl enable snapd.service
Start it:
sudo systemctl start snapd.service
I've been having the same issue for some time now.
I solved the issue by uninstalling snap and then reinstalling it:
$ sudo apt autoremove --purge snapd
$ sudo apt install snapd
This issue came to me because i changed permission to 777
I searched every where and I find only this solution is best
sudo apt-get purge snapd
sudo apt-get install snapd
This issue came when i was trying to install spotify on my kali machine using snap "snapd"
so this issue can be solved with the following commands on the terminal
Firstly install snap **$ sudo apt install snapd**
or remove it by **$ sudo apt autoremove --purge snapd** then install it again
Then enter the following commands
$ sudo systemctl enable snapd`
$ sudo systemctl start snapd
$ sudo snap install spotify
you should be able to download spotify on your kali/ubuntu Machine

Getting an error by making VBox full screen on Windows?

Despite installation of the package, getting same error again.
Error : kernel module failed
Kernel headers not found for target kernel4.19.0-8-amd64. Please install them and execute
Host: Win 10
VBox: Debian 10
This is typical issue, actually not an issue simply missing headers. Run following
commands
$ sudo apt install linux-headers-4.19.0-8-amd64
$ sudo apt install dkms
Then run guest script again
sudo sh VBoxLinuxAdditions.run
Finally reboot the machine
$ sudo reboot

Install gitlab-ce on ubuntu server 17.04

I'm trying to install the gitlab-ce package on a system running Ubuntu server 17.04. I followed the official installation instructions here.
First I ran:
sudo apt-get install curl openssh-server ca-certificates postfix
I already had all of those installed. Then I ran:
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
Which also worked fine. But when I try to run
sudo apt-get install gitlab-ce
I get the following error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gitlab-ce
I know it's possible to install gitlab on Ubuntu server 17.04, since I had already done It on a previous installation. Unfortunately I installed the OS again from scratch and I can't remember how I had installed gitlab.
Thanks for any help in advance!
I gave up with the "full" automated script, as it doesn't appear to be working with 17.04... Anyway. I grabbed the latest package from https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/xenial/gitlab-ce_9.3.0-ce.0_amd64.deb
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/xenial/gitlab-ce_9.3.0-ce.0_amd64.deb/download
Installed it with the package manager
sudo dpkg -i gitlab-ce_9.3.0-ce.0_amd64.deb
Then configured it with
sudo gitlab-ctl reconfigure
Then, point your web browser at your new gitlab install and you should be good to go...
Ubuntu 20.04.1
Incase anyone bumps back into this, while trying to gitlab on version 20.0.4 of ubuntu, life is much easier... and the instructions and automated script actually work. GitLab-CE installation instructions
on a fresh install of ubuntu: -
sudo apt install curl
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab- ce/script.deb.sh | sudo bash
sudo apt install gitlab-ce
done!
I was facing the same problem (Lubuntu 17.10), after searching the gitlab forums for 2 Hours, I found this thread.
So from what I have read: Gitlab-ce is not supported for zesty yet. Also the simple
sudo apt-get install gitlab
is a wrong prompt cause it installs a Ubuntu package created by a user named as "praveen" and It is not officially supported by Gitlab.
here is what I did To solve my problem:
sudo nano /etc/apt/sources.list.d/gitlab_gitlab-ce.list.save
sudo nano /etc/apt/sources.list.d/gitlab_gitlab-ce.list
replace "zesty" with "xenial" (These files are root access only)
sudo apt update
sudo apt-get install gitlab-ce
This worked for me.
I have spent my whole afternoon for solving this problem, I hope this solution works for you too.
Prost !
EDIT: corrected spelling
I had the same problem getting the install to run on 17.10. According to an issue on their site ( https://gitlab.com/gitlab-org/gitlab-runner/issues/2851 ), the artful packages are not being built.
I did the same this as #DevX, but just changed the parameters on their setup script.
Howler#GitLab:/tmp$ curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
Howler#GitLab:/tmp$ sudo os=ubuntu dist=xenial bash ./script.deb.sh
Howler#GitLab:/tmp$ sudo apt-get install gitlab-ce

Abaqus on Ubuntu

Install Abaqus CAE on ubuntu, after selecting install directory and proceed, got following error
Creating child process failed. Log ID is 0001
Action LaunchAPpAction from freature CODE\Linux_a64\SIMCAE_TP.PRD FAILED.
Action ID: verifyNoDeltaInstall
Anybody know how to solve this problem? Thx
Had the same problem. Solved by installing glibc.
On RHEL6
sudo yum install glibc.i686
On Ubuntu 16.04 with Abaqus2017, I installed
sudo apt-get install lsb-core
sudo apt-get install libjpeg62
to get rid of this error
I had to install perl on Red Hat Enterprise Linux release 8.5 (Ootpa) to fix it:
yum install perl

Ubuntu software center not loading

I have tried loading up the software center in order to install some packages but it doesn't seem to open. I tried entering the following command in terminal:
software-center
and get the following error:
bash: /usr/bin/software-center: /usr/bin/python: bad interpreter: Permission denied
Try this out, killall snap-store then relaunch the app
Try this, worked for me sudo apt install gnome-software
Turns out some default package files for python were missing:
sudo apt-get -m --reinstall install python python-minimal dh-python
sudo apt-get -f install
Using ubuntu 20.04 with default configurations means you should ignore answers prompting you to explore gnome-software adjustments. This version uses the snap-store to manage applications. This worked for me.
$ killall snap-store
$ snap-store

Resources