Re: perl -MCPAN checksum mismatch on anything
On Sunday 26 June 2005 06:44 am, you wrote: The problem is that lynx is helpful and will automatically uncompress files for you. B If you don't tell CPAN to use lynx it should work fine. B - todd This does not appear to be true -- see my posting from 6/18/05 using only wget (lynx disabled in the mcpan conf), I get the same error
Re: perl -MCPAN checksum mismatch on anything
In message [EMAIL PROTECTED] so spake WR (gen2): This does not appear to be true -- see my posting from 6/18/05 using only wget (lynx disabled in the mcpan conf), I get the same error Then I have no idea what the problem is. Cpan works for me out of the box and uses Net::FTP (not lynx or wget) by default. Try removing your ~/.cpan directory and see if the problem persists. - todd
Re: perl -MCPAN checksum mismatch on anything
Same problem. I too have this same problem. Fresh install...no custom anything...just trying to add modules to perl, and anything tried fails 100% no matter which source I use (even perl.org). Whats going on? - anyone have any further insight on this? -- Chet Langin
Re: perl -MCPAN checksum mismatch on anything
In message [EMAIL PROTECTED] so spake WR (gen2): Checksum mismatch for distribution file. Please investigate. I'd recommend removing /root/.cpan/sources/authors/id/R/RE/REATMON/Net-Jabber-2.0.tar.gz. Its MD5 checksum is incorrect. Maybe you have configured your 'urllist' with a bad URL. Please check this array with 'o conf urllist', and retry. The problem is that lynx is helpful and will automatically uncompress files for you. If you don't tell CPAN to use lynx it should work fine. - todd
Re: perl -MCPAN checksum mismatch on anything
At 09:40 PM 6/24/2005, Uwe Dippel wrote: On Fri, 24 Jun 2005 20:03:31 -0500, J.D. Bronson wrote: I too have this same problem. Fresh install...no custom anything...just trying to add modules to perl, and anything tried fails 100% no matter which source I use (even perl.org). Whats going on? - anyone have any further insight on this? Promise and curse of the base install. I wished I simply could wipe perl and install it from scratch; but since it does belong to the base, I wouldn't know how. I have of course removed the .perl stuff, but that's not everything. Some config is written in /usr/libdata respectively /usr/local at your initial call of cpan, respectively the o conf init. Uwe for the record, I rather tried this. I built a NEW version of perl from src and used all different locations. When I tried to run MCPAN on this version, it fails the exact same way. So I wouldnt waste any time trying that :) -- J.D. Bronson Information Services - Telecom Aurora Health Care - Milwaukee, Wisconsin Office: 414.978.8282 // Fax: 414.314.8787
Re: perl -MCPAN checksum mismatch on anything
On Fri, 24 Jun 2005 20:03:31 -0500, J.D. Bronson wrote: I too have this same problem. Fresh install...no custom anything...just trying to add modules to perl, and anything tried fails 100% no matter which source I use (even perl.org). Whats going on? - anyone have any further insight on this? Promise and curse of the base install. I wished I simply could wipe perl and install it from scratch; but since it does belong to the base, I wouldn't know how. I have of course removed the .perl stuff, but that's not everything. Some config is written in /usr/libdata respectively /usr/local at your initial call of cpan, respectively the o conf init. Uwe
Re: perl -MCPAN checksum mismatch on anything
CPAN now uses ftp or ncftp to download the files and all packages get installed perfectly! Noticed the same problem. Seem that lynx is un-gz'ing the files inline and not removing the .gz, so CPAN tries to do a checksum and un-gz them and errors out. FYI, that didn't work here, so I reduced the download options to wget only. Same problem! Doesn't seem to be a lynx-related thing. I did find this though -- These files are non-functional in context: /root/.cpan/sources/authors/01mailrc.txt.gz /root/.cpan/sources/modules/02packages.details.txt.gz /root/.cpan/sources/modules/03modlist.data.gz I replaced them with their .baks # cp 01mailrc.txt.gz.bak 01mailrc.txt.gz and that actually eliminated the first batch of errors for me, but didn't cure the tarball checksumming problem. To get around that I copied some relevant tar.gz's from a working mcpan setup on that garbage OS ;) into places like /root/.cpan/sources/authors/id/G/GB/GBARR/ and similar appropriate distfile homes, which worked on some things, but still ultimately failed all tests on Net::Jabber What the heck is gwine on here I wonder...Thanks for any insights
Re: perl -MCPAN checksum mismatch on anything
On Thu, 16 Jun 2005 21:42:39 +0200, Cudeso MailList wrote: I noticed that CPAN used lynx to download the sources. This seemed weird to me so I've reconfigured CPAN so that it no longer uses 'lynx' (entered NONE when asked for 'where is lynx'). Why should lynx not download properly ? CPAN now uses ftp or ncftp to download the files and all packages get installed perfectly! Tried the same; but gets worse: ... Use of uninitialized value in pattern match (m//) at /usr/libdata/perl5/CPAN.pm line 3195, GEN39 line 1456. Use of uninitialized value in string ne at /usr/libdata/perl5/CPAN.pm line 3329, GEN39 line 1456. Use of uninitialized value in pattern match (m//) at /usr/libdata/perl5/CPAN.pm line 3195, GEN39 line 1456. Use of uninitialized value in string ne at /usr/libdata/perl5/CPAN.pm line 3329, GEN39 line 1456. Use of uninitialized value in pattern match (m//) at /usr/libdata/perl5/CPAN.pm line 3195, GEN39 line 1456. Use of uninitialized value in string ne at /usr/libdata/perl5/CPAN.pm line 3329, GEN39 line 1456. Use of uninitialized value in pattern match (m//) at /usr/libdata/perl5/CPAN.pm line 3195, GEN39 line 1456. Going to read /root/.cpan/sources/modules/03modlist.data.gz Can't locate object method data via package CPAN::Modulelist (perhaps you forgot to load CPAN::Modulelist?) at (eval 29) line 1. at /usr/libdata/perl5/CPAN.pm line 3406 CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/modules/03modlist.data.gz') called at /usr/libdata/perl5/CPAN.pm line 3129 CPAN::Index::reload('CPAN::Index') called at /usr/libdata/perl5/CPAN.pm line 675 CPAN::exists('CPAN=HASH(0x3c4e5204)', 'CPAN::Module', 'CPAN::Modulelist') called at /usr/libdata/perl5/CPAN.pm line 1842 CPAN::Shell::expandany('CPAN::Shell', 'CPAN::Modulelist') called at /usr/libdata/perl5/CPAN.pm line 2078 CPAN::Shell::rematein('CPAN::Shell', 'install', 'CPAN::Modulelist') called at /usr/libdata/perl5/CPAN.pm line 2165 CPAN::Shell::install('CPAN::Shell', 'CPAN::Modulelist') called at /usr/libdata/perl5/CPAN.pm line 201 eval {...} called at /usr/libdata/perl5/CPAN.pm line 201 CPAN::shell() called at /usr/bin/cpan line 193 cpan So, YMMV. Mine did. Thanks for the tip, nevertheless, Uwe
Re: perl -MCPAN checksum mismatch on anything
Checksum mismatch for distribution file. Please investigate. I had a similar problem on a fresh 3.7 I noticed that CPAN used lynx to download the sources. This seemed weird to me so I've reconfigured CPAN so that it no longer uses 'lynx' (entered NONE when asked for 'where is lynx'). CPAN now uses ftp or ncftp to download the files and all packages get installed perfectly! Noticed the same problem. Seem that lynx is un-gz'ing the files inline and not removing the .gz, so CPAN tries to do a checksum and un-gz them and errors out. -steve
Re: perl -MCPAN checksum mismatch on anything
Wijnand Wiersma dixit: Funny, I was trying to install Net::Jabber too. But all modules will fail in the exact same way. I remember something about HASHFile() being broken some time ago; maybe that was the case? //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt
Re: perl -MCPAN checksum mismatch on anything
On Sun, 05 Jun 2005 16:25:38 -0700, WR wrote: Hi there I'm trying to run # perl -MCPAN -e shell cpan install foo::bar on 3.7 anything I try to install gives the same checksum error Checksum mismatch for distribution file. Please investigate. I'd recommend removing /root/.cpan/sources/authors/id/R/RE/REATMON/Net-Jabber-2.0.tar.gz. Its MD5 checksum is incorrect. Maybe you have configured your 'urllist' with a bad URL. Please check this array with 'o conf urllist', and retry. I've seen some mention of this elsewheres, but no fixes. Anyone have a suggestion as to where I should be poking around? Confirmed. Have exactly the same thing. There was something similar if memory serves right on 3.3 / 3.4. It had to do with the un-zip / tar whatever. It had already been un-whatever; something like this. Or was it a broken perl ?? In any case: yes: no, it does not work. Use the port collection instead ! Uwe
Re: perl -MCPAN checksum mismatch on anything
This morning I noticed the exact same problems. Funny, I was trying to install Net::Jabber too. But all modules will fail in the exact same way. Wijnand