Package Details: snapd 2.40-1

Git Clone URL: (read-only)
Package Base: snapd
Description: Service and tools for management of snap packages.
Upstream URL:
Licenses: GPL3
Conflicts: snap-confine
Submitter: Barthalion
Maintainer: bboozzoo (zyga)
Last Packager: bboozzoo
Votes: 86
Popularity: 4.303195
First Submitted: 2018-01-07 17:37
Last Updated: 2019-07-12 12:23

Pinned Comments

bboozzoo commented on 2018-10-25 11:56

2.36 is the first release with AppArmor enabled by default on Arch.

If you do not have AppArmor enabled at boot there should be no functional changes visible.

If you wish to use snaps with Apparmor, first make sure that Apparmor is enabled during boot, see for details. After upgrading the package, you need to do the following steps:

  • Reload the profiles: systemctl restart apparmor.service
  • Restart snapd: systemctl restart snapd.service
  • Load profiles for snaps: systemctl enable --now snapd.apparmor.service

Latest Comments

1 2 3 4 5 6 ... Next › Last »

bboozzoo commented on 2019-07-12 14:41

@Gonzalo2683 I think there's something broken in your system.

$ pkg-config --path libseccomp

Maybe try reinstalling libseccomp or using a clean chroot to build the package like described here:

Gonzalo2683 commented on 2019-07-12 14:35

Hello @bboozzoo the results was:

 gonza@Arch-Linux/ pacman -Q libseccomp 
libseccomp 2.4.1-2
 gonza@Arch-Linux/ pkg-config --cflags --libs libseccomp
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libseccomp' found
 gonza@Arch-Linux/  
I can not find the location of the file 'libseccomp.pc' How would the correct way to create the environment variable called PKG_CONFIG_PATH?

bboozzoo commented on 2019-07-12 12:30

@Gonzalo2683 not sure I understand what's happening in your system then.

The libseccomp package is listed in makedepends, so it should get automatically installed when you run makepkg -s.

Can you verify that libseccomp is indeed installed? Try running pacman -Q libseccomp. If that works try pkg-config --cflags --libs libseccomp.

Gonzalo2683 commented on 2019-07-09 14:38

@bboozzoo The problem persist, i have the same error even if run the makepkg -s.

bboozzoo commented on 2019-06-07 15:11

@Gonzalo2683 you need to install the packages listed in makedepends manually, or use makepkg -s. AUR helpers will likely do that for you automatically.

Gonzalo2683 commented on 2019-06-07 14:34

I have the following problem trying to instal snap: Package libseccomp was not found in the pkg-config search path. Perhaps you should add the directory containing libseccomp.pc' to the PKG_CONFIG_PATH environment variable No package 'libseccomp' found Package libseccomp was not found in the pkg-config search path. Perhaps you should add the directory containinglibseccomp.pc' to the PKG_CONFIG_PATH environment variable No package 'libseccomp' found pkg-config: exit status 1 ==> ERROR: Se produjo un fallo en build(). Cancelando...

I have tried installing the package like this: sudo pacman -S libseccomp And although the package is installed, the problem persists.

Some help?

now-im commented on 2019-03-08 14:58

I am facing the following problems. Kindly help.

sudo snap refresh                                                      
error: too early for operation, device not yet seeded or device model not acknowledged
sudo snap install bitwarden journey mailspring                                                                                 
error: cannot install "bitwarden", "journey", "mailspring": cannot refresh, install, or download:
       soft-expired device authorization needs refresh


I tried all of the solution and finally solved it. First Install the package jq from arch repo. Then execute the following commands. This should solve the problem.

$ systemctl stop snapd
$ sudo cat /var/lib/snapd/state.json | \
    jq 'delpaths([["data", "auth", "device"]])' > state.json-new
$ sudo cp state.json-new /var/lib/snapd/state.json
$ sudo systemctl start snapd

bboozzoo commented on 2018-12-23 08:43

@C0rn3j squashfs driver is in the kernel already. I don't see why you'd need to use squashfuse on Arch unless you're on a custom kernel without squashfs, or upgraded the kernel but did not reboot (effectively anything that loads drivers on-demand will fail at this point), or running Arch in a container.

The first and the last case could use optdepends, but IMO a wiki note would be more useful (or both even).

The upgraded kernel case is unfortunately a lost cause, unless fuse was it was already loaded, squashfuse will fail too.

after running it twice because of irrelevant snapd bug

Can you describe the problem?

C0rn3j commented on 2018-12-23 02:38

I just setup a fresh privileged LXD container with Arch.

I then installed this package, but was getting a hard middle finger from snapd.

After installing squashfuse and fuse3, I could snap install something just fine(after running it twice because of irrelevant snapd bug). Those two packages (not 100% sure that squashfuse is needed) are not even in optdepends.

rvlobato commented on 2018-12-18 16:25

Indeed, @bboozzoo, you were right, thanks! Now everything works fine.