"Waiting for lock....."

Charly Avital shavital at mac.com
Wed Apr 25 21:10:32 CEST 2007

When trying to verify or to decrypt e-mails through any of the MUAs I
use, that interact with GnuPG, the process stalls, and I have to force
quit the MUA. (I have no problem signing or encrypting).

When trying to decrypt/verify via CLI, the message is decrypted and
verified, but the output is followed by:

gpg: checking the trustdb
gpg: waiting for lock (held by 2676 - probably dead) ...
gpg: waiting for lock (held by 2676 - probably dead) ...
[this line repeats itself until I interrupt]

A search in pipermail brought a posting by Werner:
"It is a PID, but one from a terminated process.  The "probably dead"
is needed due to the fact that the directory may be NFS mounted and
the pid alone is not sufficient to check whether the process is
really dead. I should add the hostname to the lockfile to be able to
remove a stale lockfile.


I don't have a PID numbered 2676.

How can I remedy?

Thanks in advance
MacOS X 10.4.9 - GnuPG 1.4.7 - gpg2 2.0.3 - MacBook Intel Core 2 Duo

More information about the Gnupg-users mailing list