Package Details: snapd 2.62-2

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, mardy)
Last Packager: bboozzoo
Votes: 210
Popularity: 2.39
First Submitted: 2018-01-07 17:37 (UTC)
Last Updated: 2024-04-29 06:41 (UTC)

Pinned Comments

bboozzoo commented on 2018-10-25 11:56 (UTC) (edited on 2024-04-09 07:39 (UTC) by bboozzoo)

Package update notes

2.36

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
2.62

Since 2.62 snapd generated additional files describing the sandbox. The snapd service needs to be restarted after the update for snaps to continue working (unless the system is rebooted after the update, in which case no additional steps are needed). To restart, run systemctl restart snapd.service

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 24 Next › Last »

bob-xygene commented on 2022-03-04 17:22 (UTC)

snapd makes pamac-manager crash every new update, have to exclude snapd for pamac not crash. /strace -t pamac-manager .... 18:08:45 statx(AT_FDCWD, "/tmp/pamac/aur-franck/snapd-2.54.4-1", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=120, ...}) = 0 18:08:45 statx(AT_FDCWD, "/tmp/pamac/aur-franck/snapd-2.54.4-1/desc", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=73, ...}) = 0 18:08:45 futex(0x55ae6f8f36c0, FUTEX_WAKE_PRIVATE, 1) = 1 18:08:45 futex(0x55ae6f8f36b0, FUTEX_WAKE_PRIVATE, 1) = 1 18:08:45 poll([{fd=4, events=POLLIN}, {fd=16, events=POLLIN}, {fd=20, events=POLLIN}], 3, 0) = 0 (Timeout) 18:08:45 poll([{fd=4, events=POLLIN}, {fd=16, events=POLLIN}, {fd=20, events=POLLIN}], 3, 0) = 1 ([{fd=4, revents=POLLIN}]) 18:08:45 read(4, "\1\0\0\0\0\0\0\0", 16) = 8 18:08:45 write(26, "%FILENAME%\nsnapd-2.54.4-1-any.pk"..., 39) = 39 18:08:45 write(26, "%NAME%\nsnapd\n\n", 14) = 14 18:08:45 write(26, "%VERSION%\n2.54.4-1\n\n", 20) = 20 18:08:45 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x55ab2a259c71} --- 18:08:45 +++ killed by SIGSEGV (core dumped) +++ Erreur de segmentation (core dumped)

Since its only snapd that does the crash it must be snapd the culprit. It crashes when writing this file : /tmp/pamac/aur-franck/snapd-2.54.4-1/desc

/cat /tmp/pamac/aur-franck/snapd-2.54.4-1/desc %FILENAME% snapd-2.54.4-1-any.pkg.tar

%NAME% snapd

%VERSION% 2.54.4-1

/pamac-manager --version Pamac 10.3.0-2

Is there any hope ?

nerveous commented on 2022-02-07 14:19 (UTC)

@bboozzoo still issue for me, so i decide to follow this tutorial https://snapcraft.io/docs/installing-snap-on-arch-linux

bboozzoo commented on 2022-02-07 06:23 (UTC)

@nerveous IDK, have you tried again? maybe github returned something silly. Is snapd-2.54.2.tar.xz even a valid tar archive? Do you have a proxy on your network?

==> Making package: snapd 2.54.2-1 (pon, 7 lut 2022, 07:22:00)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading snapd-2.54.2.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   663  100   663    0     0   2426      0 --:--:-- --:--:-- --:--:--  2428
100 4711k  100 4711k    0     0  5467k      0 --:--:-- --:--:-- --:--:-- 25.3M
  -> Found 0001-Treat-XDG_DATA_DIRS-like-PATH.patch
==> Validating source files with sha256sums...
    snapd-2.54.2.tar.xz ... Passed
    0001-Treat-XDG_DATA_DIRS-like-PATH.patch ... Passed
==> Extracting sources...

nerveous commented on 2022-02-07 03:49 (UTC) (edited on 2022-02-07 03:50 (UTC) by nerveous)

What is this issue ?

==> Making package: snapd 2.54.2-1 (Mon Feb  7 10:48:37 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found snapd-2.54.2.tar.xz
  -> Found 0001-Treat-XDG_DATA_DIRS-like-PATH.patch
==> Validating source files with sha256sums...
    snapd-2.54.2.tar.xz ... FAILED
    0001-Treat-XDG_DATA_DIRS-like-PATH.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error making: snapd

bboozzoo commented on 2022-01-29 20:06 (UTC)

@exxnav none of these flags are set by the build files in snapd source tree or in PKGBUILD, what means it's your local makepkg.conf or something your distro sets. It's probably best if you ask in EndevourOS forums/mailing lists.

exxnav commented on 2022-01-29 18:01 (UTC) (edited on 2022-01-29 18:01 (UTC) by exxnav)

getting this while trying to install on EndeavourOS

gcc-5: error: unrecognized command line option '-fno-plt'
gcc-5: error: unrecognized command line option '-fstack-clash-protection'
gcc-5: error: unrecognized command line option '-fcf-protection'

bboozzoo commented on 2021-12-30 16:17 (UTC)

@illuser no clue, builds fine here and in a clean chroot, maybe you've tweaked your CFLAGS and something is wrong, or maybe it's something else entirely. The AUR distribution model is inherently flawed as each user tweaks their system and can introduce breaking changes that are unique to their setup. The package that does not build in your system is libseccomp-golang, you can try to find out the actual revision of github.com/seccomp/libseccomp-golang from the go.mod file and file a bug upstream.

illuser commented on 2021-12-29 23:23 (UTC)

@bboozzoo I am using the go package and not gcc-go

bboozzoo commented on 2021-12-29 17:06 (UTC)

@illuser make sure you use the actual go package and not gcc-go.

illuser commented on 2021-12-29 12:40 (UTC)

Having issues with installing 2.54.1:

*** Setting version to '2.54.1-1' from user.
# github.com/snapcore/snapd/vendor/github.com/seccomp/libseccomp-golang
../go/src/github.com/snapcore/snapd/vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:630:2: duplicate case _Ciconst_C_ACT_KILL_THREAD (value 0) in switch
    previous case at ../go/src/github.com/snapcore/snapd/vendor/github.com/seccomp/libseccomp-golang/seccomp_internal.go:626:2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: snapd