Package Details: snapd 2.53-1

Git Clone URL: https://aur.archlinux.org/snapd.git (read-only, click to copy)
Package Base: snapd
Description: Service and tools for management of snap packages.
Upstream URL: https://github.com/snapcore/snapd
Licenses: GPL3
Conflicts: snap-confine
Submitter: Barthalion
Maintainer: bboozzoo (zyga)
Last Packager: bboozzoo
Votes: 167
Popularity: 4.69
First Submitted: 2018-01-07 17:37
Last Updated: 2021-10-07 11:42

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 https://wiki.archlinux.org/index.php/AppArmor 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 »

bendavis78 commented on 2021-10-19 16:46

FYI, the error I was getting earlier:

snap-exec is not a static binary

seems to be due to the fact that I had gcc-go installed. I replaced the gcc-go package with just go, and things built successfully after that.

omerkaraduman commented on 2021-09-21 13:26

@bboozzoo Thank you for your helps, the problem was solved.

bboozzoo commented on 2021-09-21 11:41

@omerkaraduman thanks for the heads up, this is caused by glib 2.70 landing in testing. I've pushed an update with a patch from upstream.

omerkaraduman commented on 2021-09-21 11:14

Snapd package is crashing, please fix it. When makepkg -si command given, I take following autput:

/usr/bin/rst2man snap-confine/snap-confine.rst > snap-confine/snap-confine.8 touch snap-mgmt/.dirstamp /usr/bin/rst2man snap-discard-ns/snap-discard-ns.rst > snap-discard-ns/snap-discard-ns.8 libsnap-confine-private/test-utils.c: 'rm_rf_tmp' işlevinde: libsnap-confine-private/test-utils.c:63:9: hata: 'g_spawn_check_exit_status' is deprecated: Use 'g_spawn_check_wait_status' instead [-Werror=deprecated-declarations] 63 | g_assert_true(g_spawn_check_exit_status(exit_status, NULL)); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:81, from libsnap-confine-private/test-utils.c:24: /usr/include/glib-2.0/glib/gspawn.h:280:10: bilgi: declared here 280 | gboolean g_spawn_check_exit_status (gint wait_status, | ^~~~~~~~~~~~~~~~~~~~~~~~~ mv -f libsnap-confine-private/.deps/snap_confine_unit_tests-unit-tests.Tpo libsnap-confine-private/.deps/snap_confine_unit_tests-unit-tests.Po /usr/bin/rst2man snapd-env-generator/snapd-env-generator.rst > snapd-env-generator/snapd-env-generator.8 mv -f libsnap-confine-private/.deps/system_shutdown_unit_tests-unit-tests.Tpo libsnap-confine-private/.deps/system_shutdown_unit_tests-unit-tests.Po cc1: all warnings being treated as errors make[1]: [Makefile:3119: libsnap-confine-private/snap_confine_unit_tests-test-utils.o] Error 1 make[1]: Bitmemiş işler için bekliyor.... mv -f snap-confine/.deps/snap_confine_unit_tests-cookie-support-test.Tpo snap-confine/.deps/snap_confine_unit_tests-cookie-support-test.Po mv -f snap-confine/.deps/snap_confine_unit_tests-snap-device-helper-test.Tpo snap-confine/.deps/snap_confine_unit_tests-snap-device-helper-test.Po mv -f system-shutdown/.deps/system_shutdown_unit_tests-system-shutdown-utils-test.Tpo system-shutdown/.deps/system_shutdown_unit_tests-system-shutdown-utils-test.Po mv -f snap-confine/.deps/snap_confine_unit_tests-snap-confine-invocation-test.Tpo snap-confine/.deps/snap_confine_unit_tests-snap-confine-invocation-test.Po mv -f snap-confine/.deps/snap_confine_unit_tests-mount-support-test.Tpo snap-confine/.deps/snap_confine_unit_tests-mount-support-test.Po mv -f snap-confine/.deps/snap_confine_unit_tests-ns-support-test.Tpo snap-confine/.deps/snap_confine_unit_tests-ns-support-test.Po mv -f snap-confine/.deps/snap_confine_unit_tests-snap-confine-args-test.Tpo snap-confine/.deps/snap_confine_unit_tests-snap-confine-args-test.Po make[1]: Leaving directory '/home/omerkaraduman/snapd/src/snapd-2.52/cmd' make: *** [Makefile:1203: all] Error 2 ==> HATA: build() içinde bir hata oluştu. Çıkılıyor...

bboozzoo commented on 2021-08-28 15:46

@Hori base-devel is an implicit dependency of all packages from AUR, please see https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

HMlendea commented on 2021-08-28 12:26

I get the following error while building: PKGBUILD: line 97: autoreconf: command not found

The autoconf package should be added as a dependency / build dependency

bboozzoo commented on 2021-07-30 09:59

@abhaypatil2000 please follow the AUR getting started steps: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

abhaypatil2000 commented on 2021-07-29 20:29

Starting prepare()...
  -> applying 0001-snap-squashfs-handle-squashfs-tools-4.5.patch
/home/abhay/aur/snapd/PKGBUILD: line 50: patch: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

I am getting this error. Any idea how to solve it? I have tried to delete the repo and reclone it. Still the same error.

Hyllios commented on 2021-07-26 03:06

This is flagged as out of date, however the fix is very simple.

Update the following lines

pkgver=2.51.3
...
sha256sums=('67d3701b52484d7dba9c7b122752429eafbb20a0182966dd44ab1b1f6c1b780e')

bboozzoo commented on 2021-06-11 05:21

@bendavis78 builds fine in clean chroot, suggesting something in your system is most likely responsible for the problem. My rough guess is there's some tweaks in makepkg.conf that confuse the go link too.

The procedure is described in archwiki and has been linked to here many times. eg here: https://aur.archlinux.org/packages/snapd/#comment-810009