When I try to install the app with snap, I get the following error:
$sudo apt install snapd
$ sudo snap install mini-diary
error:cannot communicate with server:Post http://localhost/v2/snaps/mini-diary:dial unix/run/snapd.socket:connect:no such file or directory
$snap --version
snap 2.37.4-1+b1
snapd unavailable
series-
MX Linux
$cat/etc/debian_version
10.4
$ cat/etc/lsb-release
PRETTY_NAME="MX19.2 patito feeo"
DISTRIB_ID=MX
DISTRIB_RELEASE=19.2
DISTRIB_CODENAME="patito feeo"
DISTRIB_DESCRIPTION="MX19.2 patito feeo"
snapd does not appear to start.I don't have an MX Linux environment, so I haven't tried it, but would it work if I started the daemon using systemctl start snapd.service
(for systemd) or service snapd start
(for sysVinit)?
I have suffered from the same phenomenon.This is UBUNTU-20.04.
With reference to this site, you can now use snap in the following ways:
However, in advance,
sudo apt update
sudo apt upgrade-y
sudo apt install daemonize was required.
Running Snap on WSL2 (Insiders only for now)
It seems that systemd is required for snaps.It might be a good idea to check the environment again
$systemctl status snapd.service
🔵 snapd.service-Snap Daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-03-2505:36:01 JST; 4 daysago
TriggeredBy: 🔵snapd.socket
Main PID: 1254 (snapd)
Tasks: 19 (limit: 18118)
$ snap version
snap 2.49.1
snapd 2.49.1
series16
ubuntu 20.10
kernel 5.8.0-48-generic
Ubuntu received the above message (and log)
Note:
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.