in reply to bad gpg

given the errors, I would guess that you don't have write access to the .gnupg directory. See if you can touch a file there as the user you were running the cpan install as.

Replies are listed 'Best First'.
Re^2: bad gpg
by cmac (Monk) on Mar 22, 2011 at 15:14 UTC
    I can't.   .gnupg is root:me with 700 permissions, and all of the existing files in it are root:me with 600. But if I change permissions on .gnupg to 770, gpg squawks about lax permissions on the directory.
      If the .gnupg directory is owned and only writable by root, then you must run the cpan install as root, which you'd normally have to do anyway, in order to get things installed in the correct location. It sounds like you've got some non-standard setup. In which case I'm not likely to be able to help you. Sorry. :-(
        sudo prefixes the make-install step. I suppose I could have set the gpg item in o conf to "sudo gpg" and than might have fixed things. Instead I simply deleted the .gnupg directory in my home directory, and now CPAN installs of signed modules run fine.