Snapcraft Placing Default Config Files

I am trying to build an application release by using Snapcraft.io, and I have almost all working.Snapcraft already compiles the source code, generates the .snap file, includes all the...

Snapd dead after installing a snap with requested plugs

I created a snap, installed locally by running $ snap install <filename> --dangerous and that worked until I started adding plugs. Now running "snap list" results in this error: error: cannot...

Numpy build failure on Ubuntu Core (with snapcraft)

Finally I got my application snapped on Ubuntu 16.04 and 17.10 but now I try to snap it on Ubuntu Core (with my raspberry) and my python part (which depends on numpy) runs into following problem...

IntelliJ IDEA not able to run as described

I followed installation of IntelliJ IDEA as described in the following session. Install IntelliJ IDEA as a snap package on Linux sudo snap install intellij-idea-community --classic And it says...

Install shared library using snap

I have project, that is build by cmake and I want package with snap. Project includes executable and library (lets call it a and liba). My snapcraft.yaml file looks like: name: a version:...

Can multiple versions of a snap be installed on a system?

I am running Linux Mint 18.3 XFCE and have installed snapd on it. I have the stable version of Chromium installed via snap and would also like to try out the beta version. However, when I attempt...

notepad-plus-plus snap does not start on Ubuntu

I installed notepad-plus-plus on Ubuntu machine. It was working fine. With no evident reason it stopped to work. Icon disappeared from application list. When I launch shell script...

Raspberry pi development

I am extremely new to IOT and have recently got myself a raspberry pi. I got Ubuntu installed on it and created a couple of snaps after connecting to ubuntu-core. The snap which was created is a...

snap and gitlab-CI: error: cannot communicate with server: Post http://localhost/v2/snaps/hello-world

If I try to run snap under a gitlab-CI pipeline, installing the most simple package, it fails with: $ snap install hello-world error: cannot communicate with server:...

How to install fluxctl on WSL

I am trying to install fluxctl on my WSL (Ubuntu 18.04). I saw the official recommendation to install on Linux is through snapcraft but WSL flavors in general does not support snap yet. I know the...

How to set Visual studio code as external editor for Godot in Ubuntu?

When I look up the installation path for VS Code in terminal with the command "which code", I get "snap/bin/code" as result. However, I can't select a file in the godot settings:

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...

Is there any way to integrate snap with crouton?

Unable to perform any successful Snapcraft program installs. This is despite a successful command line install of snapd per instructions found...

Various Docker container paths have started failing with permission errors on Linux Mint

I am developing a Node multi-container application on a Linux Mint Docker host, with Docker and Docker Compose installed via Snapcraft. There are four containers, and two of them have bind-mount...

how do I fix this error on debian 10, I'm not sure what the issue is

I tried to install snapcraft using the instruction from here https://snapcraft.io/docs/installing-snap-on-debian And later tried to install shotcut using "sudo snap install shotcut --classic"...

Snapd keeps running, causing jbd2/sda2-8 accessing the disk with no read or write, consuming lots of io and system load

I am experiencing high io usage by jbd2/sda2-8 while I am doing nothing. The problem is that I am running no performance intensive program but the system load continues to be high. Actually the...

Problem with the OPC UA Client while trying to create an Ubuntu snap

I've created a working app by using the OPC UA package for node. I ran it on a Linux VM (Ubuntu 18.04 Bionic) and want to put it into a snap for easier reuse on other systems. I followed the...

Is there a way to build snap or a linux app without using snapcraft?

I'm using flutter dev and I wanted to enable linux support to many applications and followed this tutorial but the thing is Everytime I try to run snapcraft launches a VM and installs flutter...

Docker via snap - Cannot connect to the Docker daemon on a year old installation

I've had Docker installed via Snap on Ubuntu 18.04 a year or so ago. I have around 5 images on there and worked quite a bit on them. Today I get to work and the command sudo docker start 0e0 gives...

Can't create a snap with Snapcraft

I'm trying to create a snap for Alacritty on ubuntu 20.04 x64. Creating an executable with cargo build --release works fine. Creating a snap using snapcraft gives error message: note: /usr/bin/ld:...

Juju commands fail - Error unable to open /tmp/juju-store-lock-3635383939333230

I've got a little problem with Juju and I was windering if someone came accross it or know what it can be. I'm using Juju 2.8.1-focal-amd64 in association with MAAS 2.8.1 (8567-g.c4825ca06) in...

VSCode icon is missing in app switcher on Ubuntu

After I installed VSCode using the the "Snap Store" on Ubuntu Mate 20.04 (Using compiz). When I do the app switching with ALT+TAB the icon of the VSCode icon is missing. The original path for the...

How to install properly nodejs in snapcraft?

https://ubuntu.com/tutorials/electron-kiosk#4-converting-the-electron-snap-into-a-kiosk-snap Hello ! I have followed this tutorial but I don't manage to have it work properly, my probleme is that...

Error when building flutter app for Linux snap package using snapcraft - CMake step failing

This question has been asked here and (erroneously) closed as a duplicate with a link to an old CMAKE question. Probably the closing person did not read the question properly. This has nothing to...

Problem in installation of snapd on Oracle Linux Server 7.6 (based on RHEL 7.6) using yum

First step is - sudo yum install snapd This seems to work fine download the dependencies and all and setup is completed Installed Version : snapd.x86_64 0:2.45-1.el7 Second step is - sudo...

Simple hello world snap is not working after upgrade of ubuntu 18.04 to 20.04

Recently, I have started working on snapping. I have learnt snapping on Ubuntu 18.04 with simple hello-gnu. After that i have moved to ubuntu 20.04. I have faced many issue. So i decided to simply...

Default home directory for snap installer using electron-builder

I'm currently building a electron app an building the installer like .deb and .snap with electron-builder. Inside the app I need the access the user home directory for some reason and I'm using...

Where do I place a docker config.json file when docker is installed as a snap on Ubuntu?

I want to use a custom docker config.json file like this to reassign the detach keystrokes: { "detachKeys": "ctrl-q,ctrl-q" } In a "normal" docker world, i.e. one where docker is installed...

unable to run simple jenkins docker node build (home directories outside of /home are not currently supported)

I am using a very simple script mentioned below as per the official docs (https://www.jenkins.io/doc/book/pipeline/docker/): pipeline { agent { docker { image 'node:14-alpine' } } ...

snap is unusable due to missing files

today, i tried to start vscode. i type code in dmenu and press enter. nothing happens. i do it a few more times, still nothing. now i try to open it in my terminal. code. i get an...