Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Downloaded dist gets uncompressed but not renamed? #206

Open
rwstauner opened this Issue · 0 comments

1 participant

@rwstauner

The last time I looked into this was a long time ago,
but I still occasionally have this problem...
After downloading the .tar.gz file it seems to get saved to disk uncompressed,
but perlbrew tries to open it as if it were still compressed (possibly because it's still has .gz in the name?):

*$ perlbrew install perl-5.16.0-RC0
Fetching perl-5.16.0-RC0 as /home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to extract /home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz at /loader/0xe85f40/App/perlbrew.pm line 168.

$ lf ~/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz 
-rw-r--r-- 1 rando rando 75704320 2012-05-11 06:26 /home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz

*$ file ~/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz 
/home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz: POSIX tar archive

*$ mv ~/perl5/perlbrew/dists/perl-5.16.0-RC0.tar{.gz,}
`/home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar.gz' -> `/home/rando/perl5/perlbrew/dists/perl-5.16.0-RC0.tar'

*$ gzip ~/perl5/perlbrew/dists/perl-5.16.0-RC0.tar

$ perlbrew install perl-5.16.0-RC0
Installing /home/rando/perl5/perlbrew/build/perl-5.16.0-RC0 into ~/perl5/perlbrew/perls/perl-5.16.0-RC0

This could take a while. You can run the following command on another shell to track the status:

  tail -f ~/perl5/perlbrew/build.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.