Questions tagged [snapcraft]

Snapcraft is a build and packaging tool developed by Canonical which allows packaging the software in an entity called snap.

174 questions
0
votes
1 answer

How can I change the files in Ubuntu /snap folder?

I install IntelliJ IDEA from Ubuntu Software Center, I wanna change ${IDEA Folder}/bin/idea64.vmoptions . The full path is /snap/intellij-idea-ultimate/91/bin/idea64.vmoptions When I try to change this file, it returns "Read-only file system"
Honng
  • 55
  • 2
  • 7
0
votes
2 answers

Application icon doesn't work with Snap packaging

My desktop file is: [Desktop Entry] Name=Heimer GenericName=Mind map application Comment=Mind map application Exec=heimer Icon=heimer Type=Application Categories=Education; StartupNotify=true My snapcraft.yaml is: name: heimer version:…
juzzlin
  • 45,029
  • 5
  • 38
  • 50
0
votes
0 answers

Snapcraft fails in Docker container when started by Jenkins

I'm trying to build a Snap package in Docker as a Jenkins stage (it just runs the build script) but I end up with this: Sorry, Snapcraft ran into an error when trying to running through its lifecycle that generated the following traceback: Traceback…
juzzlin
  • 45,029
  • 5
  • 38
  • 50
0
votes
1 answer

Specifying package dependencies in electron-installer-snap

I can successfully build a snap package for my electron app using electron-installer-snap, however, my app depends on the keytar module which subsequently depends on libsecret-1-0 being installed. I see no way to pass package dependencies to…
ahash
  • 510
  • 7
  • 12
0
votes
1 answer

Unable to access gradle plugin URL with snapcraft

I'm trying to use snapcraft to build a snap of a Java based gradle project, but coming up short whenever any Gradle plugins are used - whenever it tries to access them, I get something akin to the following error: * What went wrong: Error resolving…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
0
votes
2 answers

Mount snap "core" (3604) ([start snap-core-3604.mount] failed

I tried to install Hugo with Snap on Ubuntu 16.04.3 LTS (GNU/Linux 2.6.32-042stab125.5 x86_64). Service snapd is running, but I get following error: cannot perform the following tasks: - Mount snap "core" (3604) ([start snap-core-3604.mount]…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
1 answer

snapcraft of catkin workspace fails to find shared header file

I'm using the catkin plugin for snapcraft. I'm using it in a ros workspace of multiple packages as required. This workspace builds with catkin tools. However when using snapcraft, the build fails to find a header file that is supposed to be shared…
rocklegend
  • 81
  • 11
0
votes
1 answer

snapcraft register failing with "can't encode character"

I'm running through the Create Your First Snap tutorial at (https://tutorials.ubuntu.com/tutorial/create-your-first-snap) I've made it to step 7 (Upload to the store) and am stuck on the step where you register the app name. Running snapcraft…
pward123
  • 734
  • 6
  • 9
0
votes
0 answers

snap packages on Debian stable

Snaps are marketed as "universal Linux package" that can be installed anywhere... I seem to be encountering problems with snapd on Debian stable (stretch). Such as taking 3 minutes to remove a package: 2017-09-09T15:08:29+10:00 ERROR cannot remove…
Penguin Brian
  • 1,991
  • 14
  • 25
0
votes
2 answers

What sort of message does Snapd's API expect?

Snapd has documentation on a REST API. I'm able to connect to the socket from C# using the following var snapSocket = new Socket(AddressFamily.Unix, SocketType.Stream, ProtocolType.IP); var snapEndpoint = new…
M-Pixel
  • 3,501
  • 2
  • 16
  • 27
0
votes
0 answers

Trouble allocating fonts in a Tcl/Tk based Ubuntu snap app

I am using tkinter in Python 3.5 to create a snap app in Ubuntu 16.04. However, I am getting an error. The code goes like this : import tkinter as tk class InitialWin(tk.Toplevel): ... root = tk.Tk() win = InitialWin(root) After building the…
0
votes
1 answer

How can we access network through an application created for snap?

I have created a simple executable which when run directly on Ubuntu, opens an url using firefox but when installed as a part of snap package, it fails with "firefox : not found" error although i have provided a network plug.
0
votes
1 answer

How to make snap app visible on "Open with"?

I have successfully created a snap package and it works fine. I've also created a .desktop file for the app. But when I install the snap app, the .desktop file is not automatically copied to "usr/share/applications" folder, which is were it must be…
dnr1
  • 111
  • 4
0
votes
1 answer

Ubuntu Core 16 on Raspberry Pi 3 cannot connect to Docker daemon

After setting up fresh Ubuntu Core 16 raspberry Pi machine. Using image from Ubuntu Core web page. And installing Docker on it with snap: snap install docker I am not able to use docker, as I get an error: Cannot connect to the Docker daemon at…
0
votes
4 answers

Snapd dead after installing a snap with requested plugs

I created a snap, installed locally by running $ snap install --dangerous and that worked until I started adding plugs. Now running "snap list" results in this error: error: cannot list snaps: cannot communicate with server: Get…
JimHansen
  • 54
  • 4
1 2 3
11
12