I've downloaded a '.tar.gz' file from here. File size is 152 MB.

The downloaded file size is 450 MB on my computer !!

I tried to extract that file but I get below error :

gzip: stdin: invalid compressed data

format violated tar: Unexpected

EOF in archive tar: Error is not recoverable: exiting now

  • 2
    That message mean that the archive file is broken. You should try to redownload it – leorize May 19 '13 at 9:50
  • Is there any way to repair a broken file ? – Hamed Kamrava May 19 '13 at 9:53
  • 2
    @HamedKamrava - not really... how would you know if the repair has fixed what was broken? Best to re-download. – fossfreedom May 19 '13 at 10:16

Your browser probably un-gzipped it automatically, leaving an uncompressed file in plain tar format rather than tar.gz; when I do this for that archive manually using gunzip, I get a file of about 468 MB. Try untarring it without the 'z' decompression flag:

tar xf scilab-5.4.1.bin.linux-i686.tar.gz

or, depending on the file name:

tar xf scilab-5.4.1.bin.linux-i686.tar
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.