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 11 .. 24 Next › Last »

soideawe commented on 2021-12-21 14:07 (UTC) (edited on 2021-12-21 14:08 (UTC) by soideawe)

when i using yay -S snapd PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.10/site-packages/pynput-1.7.5-py3.10.egg-info/PKG-INFO' make[1]: [Makefile:4725: snap-confine/snap-confine.8] Error 1 make[1]: Leaving directory '/home/balja/.cache/yay/snapd/src/snapd-2.53.4/cmd' make: [Makefile:1389: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: snapd

Anaximander commented on 2021-12-19 18:16 (UTC) (edited on 2021-12-19 18:21 (UTC) by Anaximander)

Not exactly sure what happened here.

Cloned
makepkg -si
Making package
Check runtime dependencies
Installing missing dependencies [apparmor; squashfs-tools]
Check buildtime dependencies
Installing missing dependencies [go; go-tools; python-docutils]
Retrieving Sources
Downloading snapd-2.53.4.tar.xz
curl: (7) Failed to connect to objects.githubusercontent.com port 443 after 14 ms: Connection refused
==> ERROR: Failure while downloading https://github.com/snapcore/snapd/releases/download/2.53.4/snapd_2.53.4.vendor.tar.xz
    Aborting...

Since it installed apparmor, enabled and started the apparmor service. I searched PKGBUILD and the 'objects.githubusercontent.com' is not in there in a way that I can find.

bboozzoo commented on 2021-12-16 16:25 (UTC)

@soideawe sorry, but the snippet you attached does not contain anything meaningful, however I do recommend starting with: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started specifically the point about having base-devel installed.

soideawe commented on 2021-12-16 15:02 (UTC)

make[1]: Leaving directory '/home/USER/.cache/yay/snapd/src/snapd-2.53.4/cmd' make: *** [Makefile:1389: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: snapd

bboozzoo commented on 2021-12-08 07:09 (UTC)

@fabrixx snapd.install is definitely in the tree. I'm sorry, but I have no clue in what state is your local tree. Have you tried running git reset --hard? Or maybe just do a fresh clone.

fabrixx commented on 2021-12-08 06:04 (UTC)

Snapd construction in progress ... ==> ERROR: The install file (snapd.install) does not exist or is not a regular file.

bboozzoo commented on 2021-11-08 06:53 (UTC)

@FabioLima base-devel is an implicit dependency for all packages from AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

FabioLima commented on 2021-11-07 04:13 (UTC)

I am tryng do makepkg in a "clean room" arch install, but........

$ git clone https://aur.archlinux.org/snapd.git ; cd snapd ; makepkg -sirc
Cloning into 'snapd'...
remote: Enumerating objects: 550, done.
remote: Counting objects: 100% (550/550), done.
remote: Compressing objects: 100% (367/367), done.
remote: Total 550 (delta 184), reused 541 (delta 178), pack-reused 0
Receiving objects: 100% (550/550), 208.93 KiB | 49.00 KiB/s, done.
Resolving deltas: 100% (184/184), done.
==> Making package: snapd 2.53.1-1 (Sun 07 Nov 2021 01:09:19 AM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading snapd-2.53.1.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   632  100   632    0     0   1725      0 --:--:-- --:--:-- --:--:--  1726
100 4602k  100 4602k    0     0  2291k      0  0:00:02  0:00:02 --:--:-- 3505k
==> Validating source files with sha256sums...
    snapd-2.53.1.tar.xz ... Passed
==> Extracting sources...
  -> Extracting snapd-2.53.1.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...
*** Setting version to '2.53.1-1' from user.
# github.com/snapcore/snapd/cmd/snap
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exec: "gcc": executable file not found in $PATH

==> ERROR: A failure occurred in build().
    Aborting...

Unfortunaly installing gcc make it go failing further.

bendavis78 commented on 2021-10-19 16:46 (UTC) (edited on 2021-10-19 17:08 (UTC) by bendavis78)

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 (UTC)

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