Page 1 of 1

error: gzip stdin invalid compressed data format [Solved]

PostPosted: 19. January 2012 01:42
by miyuneko
After upgrading to Ubuntu 11.10 I downloaded XAMPP Linux 1.7.7 from SourceForge and I get the following error when attempting to extract it to /opt/ :

tar: Skipping to next header
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I've tried both the terminal code:
tar xvfz xampp-linux-1.7.7.tar.gz -C /opt
and the Archive Manager with the same error both times.

Can anyone please help!

Re: error: gzip stdin invalid compressed data format violate

PostPosted: 19. January 2012 16:09
by JonB
I suspect the problem is that your download is corrupt.

the way to find out is run an md5 checksum, the correct values for each file are given on the XAMPP for Linux page
http://www.apachefriends.org/en/xampp-linux.html

open term and change directory to the location of your download.
run this command "md5sum -b ./xampp-linux-1.7.7.tar.gz"

it should look about like this:

Code: Select all
jonb@localhost Downloads]$ md5sum -b ./xampp-linux-1.7.7.tar.gz
7af1942fb5df3e03dea34fa221b65b2a *./xampp-linux-1.7.7.tar.gz


compare the checksum returned with the above one (from a good download), if its not the same, delete the old tarball (file) and re-download.

Good Luck
8)

Re: error: gzip stdin invalid compressed data format violate

PostPosted: 15. February 2012 03:17
by miyuneko
thank you for your help.
The most recent download worked perfectly.

Re: error: gzip stdin invalid compressed data format violate

PostPosted: 15. February 2012 11:41
by JonB
Great! Good Luck with XAMPP

8)