nando has asked for the wisdom of the Perl Monks concerning the following question:

You are right. I have a problem. Curl also warns me

"curl: (18) transfer closed with 2120028 bytes Remaining to read"


I'm installing perl 5.14 from source, but by unpacking the tar.gz package I find this message:

"gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not Recoverable: exiting now "

It also occurs with the sources for version 5.12.

The download link is http://www.cpan.org/src/5.0/perl-5.14.2.tar.gz

I tried with other packages and I had no problem.

Replies are listed 'Best First'.
Re: Corrupt Perl sources package?
by moritz (Cardinal) on Oct 14, 2011 at 09:21 UTC

    My tar can unpack that file just fine, I'd guess your download simply aborted prematurely.

    In case you want some data for comparison:

    $ sha1sum perl-5.14.2.tar.gz df1549d65cdef2b20023af83ecaa2a024109a5ad perl-5.14.2.tar.gz $ wc -c perl-5.14.2.tar.gz 15223598 perl-5.14.2.tar.gz
Re: Corrupt Perl sources package?
by flexvault (Monsignor) on Oct 14, 2011 at 09:28 UTC

    It works for me. I downloaded from your link, and then did the following:

    gzip -d perl-5.14.2.tar.gz tar -tvf./perl-5.14.2.tar

    I did not install since I already have 5.14.2, so I didn't check any checksums. But all seems correct. Maybe your gzip is corrupted.

    Good Luck

    "Well done is better than well said." - Benjamin Franklin