devork

E pur si muove

There's a first time for everying

Thursday, September 27, 2007
flub@signy:~/src$ tar -xzf storm-0.10.tar.gz 

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
flub@signy:~/src$ file storm-0.10.tar.gz 
storm-0.10.tar.gz: POSIX tar archive (GNU)
flub@signy:~/src$ mv storm-0.10.tar.gz storm-0.10.tar
flub@signy:~/src$ tar -xf storm-0.10.tar
flub@signy:~/src$

I don't think I've ever had an incorrectly compressed tarball before. Storm offers the download in .tar.bz2 and .tar.gz, but at least the .tar.gz is not compressed at all (not that it is necessary with 804kB) and I didn't try the other one.

It is just a fairly bad first impression...

Update: It seems the download file is actually correct as pointed out in the comments. It's not just a simple human error, it's a most interesting little bug of launchpad.

Thursday, September 27, 2007 | Labels: |

4 comments:

Steve said...

Of course you *could* just have dropped the "z" from your tar command, though this would have left a confusingly mis-named file lying around.

It's fairly common for this to happen with gzipped tar files - for a long time Firefox would apply gzip decompression on the fly without renaming the files, for example.

Dan Scott said...

Like Steve said -- I just grabbed the tarball using wget, and it was properly tarred & gzipped.

I then grabbed the tarball using Firefox, and it was already un-gzipped after I downloaded it.

So... time for an apology to Canonical? :)

Gustavo Niemeyer said...

Or perhaps a bad first impression about Launchpad, since it should serve headers that prevent Firefox from decoding the content.

Here is the bug filed about it:

https://launchpad.net/bugs/102652

I'm including a comment pointing to this.

New comments are not allowed.

Subscribe to: Post Comments (Atom)