Ubuntu – unzip error “End-of-central-directory signature not found”


I try to unzip a zip file, but got an error:

$ unzip COCR2_100.zip 
Archive:  COCR2_100.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
note:  COCR2_100.zip may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of COCR2_100.zip or
        COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.

I googled but didn't find a solution. I was wondering why it is and how I should fix it? Thanks!

The zip file can be downloaded from COCR2_100. It is an application, and here is its website http://users.belgacom.net/chardic/cocr2.html.

My OS is 10.10.

Best Answer

The problem is exactly what it says. Unzip can't find the line of code that signals the end of the archive, so either:

  1. The archive is corrupt.
  2. It is not a .zip archive.
  3. There are more than 1 parts to the archive, but that doesn't seem possible to me. You should try the other mirror too. It worked for me.

P.S. Notice how the program is made for Windows. So you need Wine (from http://www.winehq.com or the Ubuntu Software Center) to run it.

Related Question