Weird error after moving .gnupg to new machine

David Shaw
Sat Oct 12 02:01:09 2002

On Fri, Oct 11, 2002 at 11:50:44PM +0100, Chris Howells wrote:
> Hi,
> I've attempted to migrate my gpg keyring from an old machine to a new machine 
> by simply copying the .gnupg directory from the old to new machine.  However, 
> this does not appear to work:
> gpchris@gandalf:~$ gpg --list-keys
> gpg: [don't know]: invalid packet (ctb=00)
> gpg: read_keyblock: read error: invalid packet
> gpg: enum_keyblocks(read) failed: invalid keyring
> What does this mean? Is there a better way to migrate the stuff over to the 
> new machine?

It means the new machine is running an older version of GnuPG than the
old machine.  You need to run at least 1.0.7 on the new machine.


   David Shaw  |  |  WWW
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson