You are not logged in.

#1 2026-08-13 16:08:01

inarsl
Member
Registered: 2026-06-04
Posts: 6

I can't install snap

I try to install snap on my pc, but error occurs:

All static binary checks passed.
ERROR: Expected 2 public keys in snapd, found 1
make: *** [packaging/snapd.mk:323: check-trusted-account-keys] Error 1
==> ERROR: A failure occurred in check().
    Aborting...
How I can fix it?

Offline

#2 2026-08-13 16:36:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,351

Re: I can't install snap

Please Post complete logs/output/versions/error messages

What exact command did you run that gave that output ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2026-08-13 16:38:13

inarsl
Member
Registered: 2026-06-04
Posts: 6

Re: I can't install snap

I use

git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si

Offline

#4 2026-08-13 16:53:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,351

Re: I can't install snap

builds ok in a clean chroot , must be something on your system.

You can setup clean chroot building or if you want to investigate this :
run makepkg -s --log and post the contents of the *.log files it creates.

Atleast one fo those files is rather large , consider using a pastebin service .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2026-08-13 16:59:19

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,638
Website

Re: I can't install snap

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2026-08-13 17:02:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,547

Re: I can't install snap

The error is clear enough, https://github.com/canonical/snapd/blob … pd.mk#L330 means there's a file missing.
builddir is set in https://aur.archlinux.org/cgit/aur.git/ … =snapd#n64 though since one key is present I assume the problem is the generated upstream tarball

Have you brought this up in the comments for https://aur.archlinux.org/packages/snapd ?
Does the previous version build ("git revert HEAD")?

Offline

Board footer

Powered by FluxBB