It's crazy... I can confirm it's encoded properly with wget, and yet still
fails on chrome & firefox on Ubuntu 12.04 64-bit.

I download gzip'd tarballs all the time... as an experiment, I changed my
accepted encodings in firefox to not accept gzip, it downloads without
modification.

-Eric

On Thu, Oct 18, 2012 at 4:14 PM, Jake Farrell <[email protected]> wrote:

> Tried the following on os x, centos, and ubuntu and had no issues and same
> results with all
>
>
> jake:~/Downloads/] > mkdir thrift
> jake:~/Downloads/] > cd thrift
> jake:~/Downloads/thrift]> wget
> https://dist.apache.org/repos/dist/release/thrift/0.9.0/thrift-0.9.0.tar.gz
> jake:~/Downloads/thrift]> tar -xzf thrift-0.9.0.tar.gz
> jake:~/Downloads/thrift]> ls thrift-0.9.0
> CHANGES Makefile.am README config.guess configure doc missing
> CONTRIBUTORS Makefile.in aclocal config.h configure.ac install-sh test
> DISCLAIMER NEWS aclocal.m4 config.hin contrib lib tutorial
> LICENSE NOTICE compiler config.sub depcomp ltmain.sh ylwrap
> jake:~/Downloads/thrift]> svn co
> https://dist.apache.org/repos/dist/release/thrift/0.9.0
> jake:~/Downloads/thrift]> cd 0.9.0/
> jake:~/Downloads/thrift/0.9.0] > tar -xzf thrift-0.9.0.tar.gz
> jake:~/Downloads/thrift/0.9.0] > ls thrift-0.9.0
> CHANGES Makefile.am README config.guess configure doc missing
> CONTRIBUTORS Makefile.in aclocal config.h configure.ac install-sh test
> DISCLAIMER NEWS aclocal.m4 config.hin contrib lib tutorial
> LICENSE NOTICE compiler config.sub depcomp ltmain.sh ylwrap
>
>
>
>
> On Thu, Oct 18, 2012 at 1:17 PM, Eric Newton <[email protected]>
> wrote:
>
> > This file is double-compressed.  Download it from the web page and check
> > yourself:
> >
> > $ tar -xzvf ~/Downloads/thrift-0.9.0.tar.gz
> > tar: This does not look like a tar archive
> > tar: Skipping to next header
> > tar: Exiting with failure status due to previous errors
> >
> > $ gzip -dc ~/Downloads/thrift-0.9.0.tar.gz | tar -tzvf -
> > drwxr-xr-x root/root         0 2012-10-11 21:00 thrift-0.9.0/
> > drwxr-xr-x root/root         0 2012-10-11 21:01 thrift-0.9.0/contrib/
> > drwxr-xr-x root/root         0 2012-10-11 21:01
> > thrift-0.9.0/contrib/transport-sample/
> > -rw-r--r-- root/root      2479 2012-10-11 20:58
> > thrift-0.9.0/contrib/transport-sample/README.txt
> > ...
> >
> > -Eric
> >
> > On Thu, Oct 18, 2012 at 2:11 PM, Jake Farrell <[email protected]>
> wrote:
> >
> > > Keith
> > > It was made with tar -czf. You can use tar -xzf thrift-0.9.0.tar.gz to
> > > uncompress
> > >
> > > -Jake
> > >
> > >
> > > On Thursday, October 18, 2012, Keith Turner wrote:
> > >
> > > > When I download the the 0.9.0 release off of the web page, it seems
> > > > that its a gziped gzip file.  I had to do the following to untar it.
> > > >
> > > >
> > > > $ file thrift-0.9.0.tar.gz
> > > > thrift-0.9.0.tar.gz: gzip compressed data, from Unix
> > > > $ gunzip thrift-0.9.0.tar.gz
> > > > $ file thrift-0.9.0.tar
> > > > thrift-0.9.0.tar: gzip compressed data, from Unix, last modified: Thu
> > > > Oct 11 21:01:00 2012, max compression
> > > > mv thrift-0.9.0.tar thrift-0.9.0.tar.gz
> > > > gunzip thrift-0.9.0.tar.gz
> > > > $ file thrift-0.9.0.tar
> > > > thrift-0.9.0.tar: POSIX tar archive
> > > >
> > > > Keith
> > > >
> > >
> >
>

Reply via email to