Discussion Locked

Installation problems using CPAN

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have been trying to update Perl bundles using CPAN and have been unable to do so. I'm using version 1.59 (manually built) and each time I try running "install Bundle::whatever" from the CPAN prompt, it downloads the bundle and then fails on CHECKSUM. I have tried multiple sites and have had no luck. This happens with ALL installs. The error message indicates that the checksum is invalid and leaves a 0 byte .tar file in the cache download directory (along with the .gz file which when manually unzipped creates a valid .tar file that I use to manually install). Any suggestions would be helpful.

2 replies

by it

I would remove de .cpan directory of your "home" dir (probably /root):

cd
rm -fR .cpan

next time you use install bundle from perl, It will configure. Check carefully which program, and in what directory, is using for decompresing .gz.

check also what program is using to fetch the tar.gz (but that should not be the problem, because you stated that it is possible to decompress those tar.gz and then install)

Hope it works :)

Cheers
Marcos

by kmalland

Marcos,

Sorry for the delay in response but had major problems with ISP lately.

Thanks for the suggestion, but it still did not work properly. I am just installing manually for now. If you have any other suggestions, I'd appreciate them. I'm setting up another system from scratch and I'll see if this one has the same problems.

This discussion is closed to new replies.