sumanth_ora
asked on
gzip: stdin: invalid compressed data--crc error
I am trying to open file and i am getting the following error. could you please advise
$ tar xvfz examples.tar.gz
ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
$ tar xvfz examples.tar.gz
ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
Another thing.
Please try this
gzip -d file.tar.gz
and then do
tar -xf file.tar
Please try this
gzip -d file.tar.gz
and then do
tar -xf file.tar
ASKER
No Luck
$ gzip -d examples.tar.gz
gzip: examples.tar.gz: invalid compressed data--crc error
gzip: examples.tar.gz: invalid compressed data--length error
$ tar tvf examples.tar.gz
-rw-rw-r-- ellen/ora 1769 1997-11-18 16:17:12 ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
$ tar tvfg examples.tar.gz
tar: Old option `g' requires an argument.
Try `tar --help' or `tar --usage' for more information.
$ tar tvfz examples.tar.gz
-rw-rw-r-- ellen/ora 1769 1997-11-18 16:17:12 ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
$ gzip -d examples.tar.gz
gzip: examples.tar.gz: invalid compressed data--crc error
gzip: examples.tar.gz: invalid compressed data--length error
$ tar tvf examples.tar.gz
-rw-rw-r-- ellen/ora 1769 1997-11-18 16:17:12 ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
$ tar tvfg examples.tar.gz
tar: Old option `g' requires an argument.
Try `tar --help' or `tar --usage' for more information.
$ tar tvfz examples.tar.gz
-rw-rw-r-- ellen/ora 1769 1997-11-18 16:17:12 ch01_hello
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My file appears to be corrected
What steps did you follow to correct it, Sumanth?
Please issue the following as well
tar tvf example.tar.gz
See what you get
You can also try with
tar tvfz example.tar.gz
But I think the tar archive is corrupted