invalid compressed data--crc error

I am getting this error when trying to unzip a file.gz . Anyone know how to resolve this ?

Post the command you are using, it may just be a case of doing something incorrectly.

One thing I have noticed a few times is that files that come from GNU/Linux systems sometimes don't work properly with the Solaris tar.

In which case you could try this if it is a tarball...

/usr/sfw/bin/gtar zxvf  file.tar.gz

or usually you would just gunzip ( or gzip -d ) the file. If you truely have a CRC error, then the best thing to do would be to re-download or re-copy the file from a know good source.

The command I am using is
> gunzip filename.gz

hi,

see gunzip --help :wink:

or

that is because you have download the file from FTP not using binary format.

cheers.

1 Like