Questions tagged as ['snap']

Questions related to snap-package should be tagged here (ex. making a snap-package, issues, etc)
Score: 0
ayush agarwal avatar
Unable to load the kernel image of imx8 device
ke flag

I have created Ubuntu core image using Kernel snap and gadget snap using snap craft , after flashing the generated image in sd card and connecting the sd card into the iMX8MP-EVK board the board is booting successfully till the U-boot but after loading the kernel image its throwing an error and stops loading the kernel image. Please help me to find the solution for this. Please find below the logs ...

Score: 1
Werty980 avatar
Menu has both "Discord" and "Discord (Env)". Why 2 versions, and how do I remove the latter?
sa flag

I downloaded Discord from discord.com (chose a .deb file), and installing ended up giving me both "Discord" and "Discord (Env)". Is there a way to get rid of "Discord (Env)"? Snap (which I suppose installs Discord when the .deb is double clicked) only shows 1 "discord".

As requested by N0rbert:

dpkg - l | grep discord returns:

ii  discord                                     0.0.16
amd64        Chat fo ...
Score: 1
Will a Gnome 4 snap run with Gnome 3?
in flag

I want to try a more recent image viewer, Eye Of Gnome (eog) version 4. My computer is running Ubuntu 20.04.3 LTS which uses Gnome version 3.

I removed eog 3.36.3 using

sudo apt remove eog

and installed version 40.2 using

sudo snap install eog

snap list now tells me I have:

eog 40.2 602 latest/stable canonical✓ -

Sadly this snap install of eog doesn't work. In /var/log/syslog I see the f ...

Score: 5
Eyeofpie avatar
How do I recover Joplin notes if they were never exported?
in flag

I have an old Ubuntu machine that no longer works, but I can still access its drive through a live USB. None of the notes were ever exported; though, I was expecting to recover them by some other means. How do I do this? I see the Joplin app folder/files and that it was installed on the machine via snap.

Score: 0
Shivam avatar
Snap store isn't installing
ru flag

I would like to install the Snap store, but I am getting this error:

root@localhost:~# sudo snap install snap-store
error: cannot communicate with server: Post "http://localhost/v2/snaps/snap-store": dial unix /run/snapd.socket: connect: no such file or directory

How do I resolve this error and install the Snap store?

Score: 1
OBS Studio snap does not show webcam or virtual camera
mx flag

I have installed the snap version of OBS Studio, and followed the instructions on this webpage: https://snapcraft.io/obs-studio

I want to use the virtual camera option to blur my background in other applications like Zoom/MS Teams etc. (I also like the idea of doing more professional presentations with a welcome screen etc.)

The first time installing v4l2loopback-dkms resulted in an error:

dkms can't lo ...
Score: 0
Pranav Kumar avatar
Installed Snap error app not found
tr flag

1So about a month ago i installed Arduino through the ubuntu store. Suddenly one day the app appeared like the image attached (the one without logo).

  1. I Tried 'right' clicking it and click 'show details' which takes me to ubuntu store and shows 'snap not found'.

  2. I also tried searching 'arduino' in ubuntu store which return no result.

  3. I used 'sudo apt-installed arduino' which installed the app which sho ...

Score: 1
How can I force remove a snap
in flag

I am trying to delete Spotify.

I ran sudo snap remove spotify, but it hung for a long time and I had to kill the command by sending it a SIGQUIT (Ctrl + \) since it didn't respond with a SIQINT (Ctrl + c)

I tried running the command again but its now in this weird stuck state where it says it's installed but cannot be removed.

Here is some diagnostic information:

$ snap changes
ID   Status  Spawn       ...
Score: 0
Mr. Nimbis avatar
Error when installing kompozer through the Snap Store
jp flag

I'm getting an error when I try to install kompozer through the Snap Store. Here is a screenshot of my issue:

my kompozer error

I first tried installing kompozer via the terminal from a website, which appears to be a bad idea.

Score: 5
Garo avatar
What is the effect of packages installed by snap on memory usage?
us flag

I never used snaps before. When reading the vague descriptions I assume it's implemented in a way really similar to containers.

This makes me assume that programs in snaps all use their own libraries. But because 'regular' programs use the default libs from the system I assume multiple libs will be loaded which will cost a lot of memory...

Is this indeed the case ?

Related: Are there other disadvantage ...

Score: 0
Is it possible to have an on premises Snap Store and to distribute apps privately?
mc flag

I want to distribute my private application within a On Premises Snap Store

And I don't want to publish it on the Internet.

Is it possible ?

Score: 0
Shell avatar
Not able to run the docker-compose up command
in flag

I am trying to run the docker-compose command. But, suddenly it got stop working. I am new in ubuntu. But, I am definitely sure that the following error is not from the docker-compose tool.

pct110@pct110-Ubuntu:~/alita$ docker-compose up
snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

Anyone have any idea how to fix t ...

Score: 0
Sildeag avatar
How does one update one file in a snap?
jp flag

In the snap for application skanlite one configuration file /snap/skanlite/current/etc/sane.d/genesys.conf is either out-of-date or does not have the needed settings. How does one updated or override it?

Score: 0
Anupriya B avatar
How to download AppImage ? what are the alternative of AppImage and Snapcraft?
cn flag

i can't find clear steps to install Krita using AppImage. How to download AppImage?

Snapcraft in Ubuntu is not showing some software that i want to download. what are the alternative of AppImage and Snapcraft?

Score: 9
Is there a security changelog for Canonical snap packages?
cn flag

Lets take CVE-2021-3448 as an example.

It's easy to see when the deb package got the backported fix, and what package is installed on the server.

But the same package in a snap:

/snap/lxd/21468/bin/dnsmasq --version
Dnsmasq version 2.80 .....
snap list
lxd     4.18      21468  latest/stable/…  canonical✓  -

Do you know if there is a way to see if that CVE is backported to 2.80 in the Canonical ...

Score: 0
ybznek avatar
Add mounts/symlinks into snap automatically
cn flag

I use several symlinks in my root directory usually pointing somewhere into /home directory. I can keep projects organized in directories, but I still have quick (terminal) access to them.

e.g.: /g -> /home/z/projects/kotlin/TheGame

But for snap applications, these symlinks are not visible.

Does exist any way how to globally add such symlinks (/bind mounts/another solution) to snap applications?

Score: 1
lofidevops avatar
How can I install two versions of .NET for Rider?
us flag

I have installed both Rider and dotnet-sdk with Snap, so that I can debug .NET projects. However, I now need to work on an older solution that runs on an older version of .NET.

How can I install another version of .NET and still work on both projects?

Score: 0
france1 avatar
Can't use snapd because of squashfs problem
ng flag

I tried to reinstall it (worked but didn't fix it) I use xanmod2, xanmod1-rt(well just booted like 5 times with it), lowlatency mainline kernel, mainline kernel

fuse and squashfs is installed

Fehler: system does not fully support snapd: cannot mount squashfs image using
        "squashfs": mount: /tmp/sanity-mountpoint-840417037: Falscher
        Dateisystemtyp, ungültige Optionen, der Superblock von ...
Score: 0
Captain Giraffe avatar
None of my snaps are starting Permission denied
jp flag

Discord and qemu stopped working with this latest update. There seems to be a permissions problem with the snap user.

As a for instance

/snap/discord/128/snap/command-chain/desktop-launch: line 50: /home/captain/.config/user-dirs.dirs: Permission denied


/snap/discord/128/snap/command-chain/desktop-launch : line 261:  permission denied

Failed to generate minidump.Segmentation fault (core dumped)
Score: 0
William McLellan avatar
Snap update errors
ke flag

Using Ubuntu Software or Gnome Software, there are some applications which have updates but refuse to update through errors. I ran the following and these are the errors obtained:

mclellan@mclellan-MS-7817:~$ snap refresh
error: cannot perform the following tasks:
- Download snap "video-downloader" (791) from channel "latest/stable" (invalid credentials)
- Download snap "chromium" (1732) from chann ...
Score: 0
Devin Y avatar
Cannot create user data directory: cannot create "/var/www/snap/chromium/1732": mkdir /var/www/snap: permission denied
in flag

I'm trying to launch the chromium-browser for my scraping project and I'm getting this error on my Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-1038-aws x86_64)

Chrome process stopped before startup completed. Additional info: /usr/bin/chromium-browser: 12: xdg-settings: not found cmd_run.go:1002: WARNING: cannot create user data directory: cannot create "/var/www/snap/chromium/1732": mkdir /var/www/snap: permis ...

Score: 2
Neinstein avatar
Snap points me to a package that, in fact, doesn't exist. What's going on?
cn flag

So, I just did the following and it makes absolutely no sense to me. (Please ignore my custom $PS1).

Let's try to install Vs Code in a wrong way (the correct package name is code), and follow through snapd's suggestions:

(base) nagyg -> snap install vscode                                                                                     
error: snap "vscode" is not available on stable but is a ...
Score: 0
Bodo avatar
snap version of docker stops for unknown reason
cn flag

snap version of docker stopped on several VMs all of a sudden.
Is snap trying an update of itself?

Messages i get:

Jul 27 06:35:57 xxx systemd[1]: Stopping Docker Application Container Engine...
-- Subject: A stop job for unit docker.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit docker.service has begun execution.
--
-- The j ...
Score: 0
Brad Thompson avatar
Snapd does not mount snap block devices
nl flag

Distro: Ubuntu 21.04 (Hirsute Hippo)

I removed snapd (which obviously removed snapd) many times and then after install snapd all the snaps were OK. This time I reinstalled AppArmor and install snapd, enable and running but this time did not mount snaps.

The following packages will be REMOVED:
  apparmor* apparmor-easyprof* apparmor-notify* apparmor-profiles* apparmor-profiles-extra* apparmor-ut ...
Score: 0
Suresh M avatar
How to stop snapd from auto updating?
cn flag

Is there any way to tell snapd to update later...it uses lots of bandwidth with out asking. The apps remain the same. Is there any config file or gui screen using which I can do this

Score: 0
reazz avatar
Are snap packages in Ubuntu 20.04 safe? Some (installed by default) show "Source Unknown"
in flag

So I just installed a fresh new system with Ubuntu 20.04.

After applying all the updates I opened the Ubuntu Software-store to see that I had a whole bunch of software already installed in the form of snap-packages.

Most of them comes from the source: ubuntu-focal-main, GNOME developers etc. However some packages like the "Print Settings" shows up as Source Unknown. What does this mean?

I'm really hesi ...

Score: 1
John C avatar
How to manually update Snap package, Kolourpaint
tr flag

Currently the Snap-package Kolourpaint is broken, at least on my system (Ubuntu 20.04.3 LTS). And there do not seem to be any current updates.

$ snap refresh kolourpaint
snap "kolourpaint" has no updates available

Is it possible to do a manual update from the apt-get repository version of Kolourpaint somehow? I saw a tool called snapcraft that is supposed to update from .deb files - would that work, ...

Score: 0
adxl avatar
/usr/bin/snap disappeared suddenly
in flag

I had some applications installed via snap that were running perfectly until today.

When I started my computer I was not able to launch them.

These applications still show on my apps list but clicking on one doesn't launch it.

Also trying to start them via terminal results in a command not found error, even thought my shell suggests the command.

Another thing is that the applications still exist in

Score: 1
error: snap "android-studio" has "install-snap" change in progress
bf flag

I was trying to install Android studio in ubuntu 20.04. I used this command sudo snap install android-studio --classic. But after 54% download , my pc freezes and restarts automatically. After opening my pc , again open my terminal and execute the same command. This time it shows error: snap "android-studio" has "install-snap" change in progress error. What I need to do? Do I need to kill the PID. ...

Score: 2
diridev avatar
Snap applications - cannot create user data directory (home bind mounted)
it flag

I have my home folder on another drive, which is mounted via fstab to /mnt/HDD

UUID=123 /mnt/HDD exfat rw,defaults,umask=002,uid=1000,gid=1000,auto,users,exec 0 0

The home folder is then bind mounted to /home

/mnt/HDD/Ubuntu/home /home none defaults,bind 0 0

I don't know if this is the problem, but when I launch some snap applications (e.g. Discord) it says

WARNING: cannot create user data director ...