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

Evan Aad oddeveneven at gmail.com
Fri Oct 3 11:55:47 CEST 2025


How can I tell if I am running a GnuPG version build using Cygwin?
I am running it from the Git Bash command line.

On Wed, Oct 1, 2025 at 11:44 AM Werner Koch <wk at gnupg.org> wrote:
>
> 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



More information about the Gnupg-users mailing list