gpg: waiting for lock (held by 1529 - probably dead)?

Charly Avital shavital at
Wed Jan 9 13:08:41 CET 2008

Philip Neukom wrote the following on 1/8/08 9:10 PM:
> Hi!
> I'm back and updating my key for new email accounts after a long absence.

Welcome back.
> But am running a problem and getting the following error.  I did a
> Google search but didn't find anything yet.
> Could someone please explain what the error means?  And, if there is
> obvious place to look for such info that I don't know about, please let
> me know where I can look.
> Error
> ---cut---
> gpg: waiting for lock (held by 1529 - probably dead) ...
> ---cut---

I remember having had that kind of problem.

Please point your browser to:

All I can understand is that gpg started a process that it couldn't 
complete, and/or crashed. I very vaguely remember that the crash was due 
to a missing hash SHA224 (H11); but don't take me to my word, launch 
Terminal and type gpg -v --version, and see what you get.

The crash, or whatever it was resulted in the creation in ~/.gnupg of a 
file named secring.gpg.lock or trustdb.gpg.lock, any file with the 
extension .....gpg.lock. Remove that file, it should solve the problem.

By the way, an unrelated question: how did you install 1.4.8? Compiled 
src, or used the binary installer available at 

MacOSX 10.5.1
gpg 1.4.8, gpg2 2.0.7 with gpg-agent.

> MacOSx 10.4.11
> macgpg 1.4.8
> keyserver: mit
> Thank you in advance
> Philip

Gnupg-users mailing list
Gnupg-users at

More information about the Gnupg-users mailing list