Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 11170
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.051
Fixed in: (no value)



Subject: "Couldn't read chunk at offset unknown"
I got a strange error with checksums (see below), but it kept going and the module installed just fine. This is with perl 5.9.1 on Solaris 8. ========== CPAN Terminal> i Games::QuizTaker Installing Games::QuizTaker [MSG] Trying to get 'file://disk1/src/CPANmini/authors/id/T/TS/TSTANLEY/Games-QuizTaker-1.27.tar.gz' [MSG] Trying to get 'file://disk1/src/CPANmini/authors/id/T/TS/TSTANLEY/CHECKSUMS' [MSG] Checksum matches for 'Games-QuizTaker-1.27.tar.gz' Couldn't read chunk at offset unknown at /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm line 158 Couldn't read chunk at offset unknown at /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm line 158 Couldn't read chunk at offset unknown at /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm line 158 uestions,$Answers,$Randoms)=@_; my $Answer_Sep=$self->get_Answer_Delimiter; my $Max=$self->get_M: checksum error at /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm line 158
[MTHURN - Fri Jan 21 07:57:53 2005]: Show quoted text
> I got a strange error with checksums (see below),
not an error, but a warning... Show quoted text
> but it kept going > and the module installed just fine. This is with perl 5.9.1 on > Solaris 8.
Show quoted text
> ========== > CPAN Terminal> i Games::QuizTaker > Installing Games::QuizTaker > [MSG] Trying to get > 'file://disk1/src/CPANmini/authors/id/T/TS/TSTANLEY/Games-QuizTaker- > 1.27.tar.gz' > [MSG] Trying to get > 'file://disk1/src/CPANmini/authors/id/T/TS/TSTANLEY/CHECKSUMS' > [MSG] Checksum matches for 'Games-QuizTaker-1.27.tar.gz' > Couldn't read chunk at offset unknown at > /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm > line 158 > Couldn't read chunk at offset unknown at > /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm > line 158 > Couldn't read chunk at offset unknown at > /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm > line 158 > uestions,$Answers,$Randoms)=@_; my $Answer_Sep=$self-
> >get_Answer_Delimiter; my $Max=$self->get_M: checksum error at
> /usr/local/lib/perl5/site_perl/5.9.1/CPANPLUS/Internals/Extract.pm > line 158
It's most likely a corrupted tarball (where the headers and the content don't match up) -- there's quite a few of them, but often we manage to compensate for this. The warnings come from Archive::Tar actually, not from CPANPLUS. gnu tar has the same problems, but it chooses usually not to print the warnings. if run under -w, Archive::Tar will however...