I have downloaded a compressed file from http://ds.arm.com/downloads/. File details are DS500-BN-00019-r5p0-21rel1.tgz(64 bit) When I try to extract this file using the following command
tar -zxvf DS500-BN-00019-r5p0-21rel1.tgz
I receive the following error
gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The same output I got if I try to view contents using "-tzf" option. In different ubuntu environment file extracts successfully. tar is failing to extract only in my ubuntu environment. If I use 7z, I observe the following failure message
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_IN,Utf16=on,HugeFiles=on,4 CPUs)
Processing archive: DS500-BN-00019-r5p0-21rel1.tgz
Extracting DS500-BN-00019-r5p0-21rel1.tar CRC Failed
Sub items Errors: 1
This behavior is observed for all compressed files downloaded from internet. If I use compressed files from different ubuntu environment or from my system itself, I dont observe this behavior.
I suspect this is being observed only in my ubuntu environment. Kindly help me in resolving this issue.
Following are the environment details
Ubuntu 12.04
$ tar --version
tar (GNU tar) 1.26
...
$ gzip --version
gzip 1.4
...
Kindly let me know if any more details are required.
cmp -l
to see where they start to differ. Edit your original question with the result, rather than in the comments, please.