Error creating backup of trustdb with 1.3.92

Patrick Brunschwig patrick.brunschwig at
Tue Nov 9 18:28:55 CET 2004

Hash: SHA1

Timo Schulz wrote:
> On Mon Nov 08 2004; 22:09, Patrick Brunschwig wrote:
>>system), this leads to an error causing gpg to return exit code 2, even
>>though the operation itself completes successfully.
> But in the case you've shown the process was _not_ successfull.

Kind of yes (concerning renaming the file), kind of no :-) The list of
the keys (which was what I asked for) was returned normally.

>>gpg: renaming `C:/Documents and Settings/patrick/Application
>>gpg' to `C:/Documents and Settings/patrick/Application
>>Data/GnuPG\pubring.bak' failed: Permission denied
>>gpg: failed to rebuild keyring cache: file rename error
> Is it possible that another process or maybe yourself created the
> pubring.bak in this directory? If you delete or rename pubring.bak
> to pubring2.bak, it should work and the return should be zero.

No, that's not possible, there is no pubring.bak file in the directory.
Instead, there's a file pubring.tmp. I have also double checked the
permissions, and all is as it should be. By the way, I'm not the only
one to have noticed this bug. Some Enigmail users tell me about the same

- -Patrick
Version: GnuPG v1.3.92 (MingW32)
Comment: Using GnuPG with Thunderbird -


More information about the Gnupg-devel mailing list