what to do if keyring gets corrupted?

JanuszA.Urbanowicz JanuszA.Urbanowicz
Thu Mar 7 23:48:02 2002


I try to add new UiD to my key and after 'save' gpg reports:

Command> save
gpg: /home/alex/.gnupg/pubring.gpg: copy to
/home/alex/.gnupg/pubring.gpg.tmp' failed: file read error
gpg: update failed: file read error

What to do in such a situation? I think of exporting all the keys then
rebuilding the pubring from scratch, but this way local signatures will get
lost.

Alex
-- 
Janusz A. Urbanowicz | ALEX3-RIPE | SF-Framling | Thawte Web Of Trust Notary

Gdy daję biednym chleb, nazywają mnie świętym. Gdy pytam, 
dlaczego biedni nie mają chleba, nazywają mnie komunistą. - abp. Helder Camara