You are not logged in.

#1 2026-03-10 01:06:17

marutino
Member
Registered: 2026-03-10
Posts: 4

[SOLVED] Keys on yay not working

Hello, I am running into an issue with GPG while trying to install librewolf-bin. This is only occurring on yay as far as I know, I can use pacman just fine.

gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_get_keyblock failed: Value not found
gpg: error writing keyring '[keyboxd]': SQL library used incorrectly
gpg: error reading '[stream]': SQL library used incorrectly
gpg: Total number processed: 0
 -> problem importing keys

I have attempted to get the necessary keys using

sudo pacman-key --refresh-keys --keyserver keyserver.ubuntu.com

to no avail.

Last edited by marutino (2026-03-10 16:38:22)

Offline

#2 2026-03-10 01:37:34

marutino
Member
Registered: 2026-03-10
Posts: 4

Re: [SOLVED] Keys on yay not working

If it is necessary, here is the rest of the output of yay -S librewolf-bin:

 AUR Explicit (1): librewolf-bin-1:148.0.0_1-1
Sync Dependency (1): startup-notification-0.12-9
:: PKGBUILD up to date, skipping download: librewolf-bin
  1 librewolf-bin                            (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/fern/.cache/yay/librewolf-bin
HEAD is now at 3ffbe32 v148.0.0_1-1
Removing librewolf-148.0-1-linux-x86_64-package.tar.xz
Removing librewolf-148.0-1-linux-x86_64-package.tar.xz.sig
Removing source/
Removing src/
  1 librewolf-bin                            (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: librewolf-bin 1:148.0.0_1-1 (Tue Mar 10 01:33:46 2026)
==> Retrieving sources...
  -> Cloning source git repo...
Cloning into bare repository '/home/fern/.cache/yay/librewolf-bin/source'...
remote: Enumerating objects: 7574, done.
remote: Counting objects: 100% (1292/1292), done.
remote: Compressing objects: 100% (662/662), done.
remote: Total 7574 (delta 767), reused 1085 (delta 562), pack-reused 6282 (from 1)
Receiving objects: 100% (7574/7574), 5.40 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (4169/4169), done.
  -> Found default192x192.png
  -> Found librewolf.desktop
  -> Downloading librewolf-148.0-1-linux-x86_64-package.tar.xz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100 91.28M 100 91.28M   0      0  8.50M      0   00:10   00:10         11.48M
  -> Downloading librewolf-148.0-1-linux-x86_64-package.tar.xz.sig...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100    566 100    566   0      0    649      0                              0
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    source ... Passed
    default192x192.png ... Passed
    librewolf.desktop ... Passed
==> Validating source_x86_64 files with sha256sums...
    librewolf-148.0-1-linux-x86_64-package.tar.xz ... Passed
    librewolf-148.0-1-linux-x86_64-package.tar.xz.sig ... Skipped
:: (1/1) Parsing SRCINFO: librewolf-bin
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_search failed: Connection timed out
gpg: error reading key: Connection timed out

 :: PGP keys need importing:
 -> 662E3CDD6FE329002D0CA5BB40339DD82B12EF16, required by: librewolf-bin
:: Import? [Y/n] Y
:: Importing keys with gpg...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_get_keyblock failed: Value not found
gpg: error writing keyring '[keyboxd]': SQL library used incorrectly
gpg: error reading '[stream]': SQL library used incorrectly
gpg: Total number processed: 0
 -> problem importing keys 

Offline

#3 2026-03-10 08:48:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,274

Re: [SOLVED] Keys on yay not working

Does

gpg --search-keys 662E3CDD6FE329002D0CA5BB40339DD82B12EF16

work?

gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_search failed: Connection timed out

10274 is a pid

ps aux | grep 10274 # or update the value accordingly

probably docker…
Could also be a stale lockfile in https://wiki.archlinux.org/title/GnuPG#Home_directory but gpg is supposed to clear those.

Offline

#4 2026-03-10 09:28:53

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

Re: [SOLVED] Keys on yay not working

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

#5 2026-03-10 14:35:07

marutino
Member
Registered: 2026-03-10
Posts: 4

Re: [SOLVED] Keys on yay not working

seth wrote:

Does

gpg --search-keys 662E3CDD6FE329002D0CA5BB40339DD82B12EF16

work?

gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_search failed: Connection timed out

10274 is a pid

ps aux | grep 10274 # or update the value accordingly

probably docker…
Could also be a stale lockfile in https://wiki.archlinux.org/title/GnuPG#Home_directory but gpg is supposed to clear those.

I ran

gpg --search-keys 662E3CDD6FE329002D0CA5BB40339DD82B12EF16

which worked but did not fix the issue. I attempted to rerun makepkg -si inside ~/librewolf.bin/ which gave the following:

==> Validating source_x86_64 files with sha256sums...
    librewolf-148.0-1-linux-x86_64-package.tar.xz ... Passed
    librewolf-148.0-1-linux-x86_64-package.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    librewolf-148.0-1-linux-x86_64-package.tar.xz ... FAILED (unknown public key 8A74EAAF89C17944)
==> ERROR: One or more PGP signatures could not be verified!

I then ran gpg --receive-keys 8A74EAAF89C17944 to attempt to receive the key which gave:

gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: Note: database_open 134217901 waiting for lock (held by 10274) ...
gpg: keydb_get_keyblock failed: Value not found
gpg: error writing keyring '[keyboxd]': SQL library used incorrectly
gpg: error reading '[stream]': SQL library used incorrectly
gpg: Total number processed: 0

ps aux | grep 10274 # or update the value accordingly gave:

fern       48715  0.0  0.0   3456  1940 pts/0    S+   14:34   0:00 grep 10274

Offline

#6 2026-03-10 15:11:26

marutino
Member
Registered: 2026-03-10
Posts: 4

Re: [SOLVED] Keys on yay not working

The issue has been solved. It was a stale lockfile in ~/gnupg/public-keys.d.

Offline

#7 2026-03-10 15:47:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,274

Re: [SOLVED] Keys on yay not working

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB