Snapcraft is a build and packaging tool developed by Canonical which allows packaging the software in an entity called snap.
Questions tagged [snapcraft]
174 questions
2
votes
3 answers
how could I install a snap package via Ansible on an air-gapped system
Installing snap packages via Ansible on systems that are connected to internet is rather simple. EG:
- name: Install microk8s
become: yes
snap:
name: microk8s
classic: yes
channel: "{{ microk8s_version }}"
Now I would…

Monger39
- 109
- 8
2
votes
3 answers
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 nodejs 8.10.0 is install when I need 10.12 at…

guhurak
- 143
- 8
2
votes
0 answers
Snapcraft doesn't produce any snaps after cleaning the part
If I build my snap like this:
$ snapcraft clean --use-lxd && snapcraft --use-lxd it builds the snap for me.
However, this takes a lot of time as it every time downloads and installs huge amount of VM packages and I want to build only my app part…

juzzlin
- 45,029
- 5
- 38
- 50
2
votes
1 answer
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"
However I get this error "error: system does not fully…

Dumb Debian user
- 21
- 2
2
votes
1 answer
Flutter with android studio from snap
I am trying to install flutter and I get the flowing error when I type "flutter doctor -v":
[✓] Flutter (Channel stable, v1.0.0, on Linux, locale en_IL)
• Flutter version 1.0.0 at /home/guy/flutter/flutter
• Framework revision 5391447fae (2…

Guy Luz
- 3,372
- 20
- 43
2
votes
1 answer
Change heap size for Eclipse installed as a snap package
I'm running Kubuntu 18.04.1 and have Eclipse installed as a snap package. I want to change the values of Xms and Xmx, but I can't edit /snap/eclipse/29/eclipse.ini because it is read-only. Is there a workaround?
user3930206
2
votes
1 answer
Selecting 18.04 toolchain on snapcraft.io for automatically updating qt5 snap on github commit
Is it possible to select newer (than 16.04) toolchain on snapcraft.io with snapcraft.yaml options? Based on irc suggestion i tried base: core18, but it didn't work.
Currently, I'm making this snap locally using ubuntu 18.04. What i want to do is to…

mspehar
- 527
- 1
- 6
- 19
2
votes
1 answer
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 to install the beta version snap, I get a message…

alyms108
- 51
- 8
2
votes
0 answers
".dist-info directory not found" with pipenv install -r requirements.txt
I'm trying to install snapcraft's requirements using:
pipenv install -r snapcraft/requirements.txt
and it fails to install those two…

Francois
- 852
- 6
- 17
2
votes
2 answers
Using Snap applications with Jenkins
I'm trying to set up continuous deployment of a hugo site using Jenkins on an Ubuntu 16.04 server. I've installed hugo using snap as was recommended on their site. I've been able to get the site working on my main user account, but when I try to…

theodinspire
- 61
- 1
- 8
2
votes
0 answers
snapcraft create-key taking forever to complete
Its taking forever to create key when trying to create key using 'snapcraft create-key' or 'snap create-key'.
I have waited for 30 minutes and still have no success in creating the key.
Does any know how much time should I give to create it? Or is…

TJP
- 21
- 2
2
votes
0 answers
Is there a workaround for QLabel::setOpenExternalLinks to use inside a SNAP installation?
I am using a QLabel as a hyperlink in my QT-application on Linux.
QLabel *link = new QLabel();
link->setOpenExternalLinks(true);
link->setText("Company");
Everything works fine except when I install the app via…

Olaf Japp
- 480
- 5
- 19
2
votes
1 answer
How do I target $SNAP_DATA from snapcraft.yaml
Here are the important parts of my working snapcraft.yaml...
name: my-lib
apps:
library-sample:
command: library_sample $SNAP/arg_file.json
parts:
library:
source: https://github.com/the/sample.git
plugin: cmake
install: |
…

Zak
- 12,213
- 21
- 59
- 105
2
votes
1 answer
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 dependencies, and so on.However, I am stuck at how I can…

Alvaro Luis Bustamante
- 8,157
- 3
- 28
- 42
1
vote
1 answer
While compiling an application from linux, the flutter_secure_storage package gives an error
While compiling an application from linux, the flutter_secure_storage package gives an error.
Error:-
Launching lib/main.dart on Linux in debug mode...
main.dart:1
CMake Error at…

karan duggal
- 11
- 2