in reply to CPAN install weirdness

sudo cpan install CPAN
Don't do that, unless you want to install the infamous junoscript stuff which is called 'install' on CPAN (it really should be banned, then renamed). Say rather 'sudo cpan CPAN'.

As for the wrong signature, have you tried removing the file and running cpan again? Download errors do happen sometimes.

Update - if you have a .gnupg directory and your 'sudo' isn't performing a 'su -' behind your back, the tests will likely fail, since the .gnupg in $HOME isn't owned by the effective UID of the process doing the tests.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: CPAN install weirdness
by dhosek (Beadle) on May 15, 2007 at 04:08 UTC
    Update - if you have a .gnupg directory and your 'sudo' isn't performing a 'su -' behind your back, the tests will likely fail, since the .gnupg in $HOME isn't owned by the effective UID of the process doing the tests.
    I think that's it since I am getting an improper ownership/protection warning... I'll see if chowning it to root helps.
Re^2: CPAN install weirdness
by dhosek (Beadle) on May 15, 2007 at 04:44 UTC
    Just to follow up one more time, that was it. I did a chown -R root .gnupg and it worked. Now to install the stuff that I was actually trying to install...