GPG is waiting for a lock held by a process that does not exist

Werner Koch wk at gnupg.org
Wed Oct 1 10:46:24 CEST 2025


Hi!

On Mon, 29 Sep 2025 10:01, Evan Aad said:

> Working on a PC running Windows 11 Pro, I'm trying to verify a the

> gpg: Note: database_open 134217901 waiting for lock (held by 1819) ...

That is strange: This message will only be emitted on Unix systems.  On
Windows we have no way to know which process holds the lock.  See
gnupg/common/dotlock.c:dotlock_take_w32 respective dotlock_take_unix.

In case you are running a GnuPG version build using Cygwin - just don't
do this.  Use a proper Windows version; gpg4win.org is the best choice
(use the 5.0.0-beta which will soon be 5.0.0).


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20251001/e5632be0/attachment.sig>


More information about the Gnupg-users mailing list