4

I have some *.zip files. I was trying to unzip these files through unzip command in Unix. But it is giving some trouble which I can not understand.

Here is what I am trying to do

unzip file.zip

It is giving the following error

bad CRC 64162f32  (should be b326db0b)

I have also tried some other way, which is

zcat file.zip > file.txt

and it is giving the following error

invalid compressed data--crc error

How should I solve this problem. Each *.zip file is almost 20GB in size.

Bionerd
  • 61

1 Answers1

2

A CRC error means cyclic redundancy check, basically, a checksum of all files contained within the .zip file - this message is showing you that the checksum known the the .zip file, b326db0b, did not match the checksum that it just calculated while trying to extract the files, 64162f32.

This message is telling you that your .zip file is corrupt.

Were these files zipped locally? Or downloaded from a remote server? If transferred across the network, always do an md5sum on your files, and verify it against the server to verify you actually downloaded all the bytes you were supposed to.

Matt Clark
  • 2,104