Unzip error "End-of-central-directory signature not found"
Solution 1
Use this alternate zip process to uncorrupt your file. (Idea based on answer at https://askubuntu.com/questions/54904/unzip-error-end-of-central-directory-signature-not-found)
mkdir DOCX
cd DOCX
jar xvf ../Commission\ Plan.docx
jar cvf ../Commission\ Plan2.docx *
This will decompress and recompress using the superior zip utility build into the java runtime on your system.
Solution 2
Unzipping with 7z worked for me:
7z x COCR2_100.zip
Install via APT with apt install p7zip-full
.
Related videos on Youtube
William Entriken
Lead author of ERC-721. Personal website and contact information: https://phor.net Promoting two open source projects: https://github.com/fulldecent/web-puc - A script to validate you are using the latest JQuery, Bootstrap, Font Awesome versions in your favorite PHP or other web front-end (compatible with Travis CI) https://fulldecent.github.io/cameralife/ - Mature LAMP project for displaying large photo collections on the web (i.e. your life work)
Updated on September 18, 2022Comments
-
William Entriken over 1 year
I have a ZIP file that open in Windown/MS Word, (actually it is a .DOCX file). Opening it with LibreOffice / Mac produces:
General Error. General input/output error.
File
says:../Commission Plan.docx: Zip archive data, at least v2.0 to extract
And
unzip
says:Archive: ../Commission Plan.docx 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. unzip: cannot find zipfile directory in one of ../Commission Plan.docx or ../Commission Plan.docx.zip, and cannot find ../Commission Plan.docx.ZIP, period.
How do I open this file?
-
JdeBP about 10 years"perfectly good" does not seem like an apt description. Rather, this has the tell-tale of a DOCX file that has been downloaded from a WWW server that generates dynamic content but doesn't serve up DOCX files correctly.
-
William Entriken about 10 yearsJdeBP, fair. I have no objective metric for "perfectly good", updated text.
-
-
William Entriken almost 10 yearsIs this solution working for anyone else too?
-
William Entriken over 8 yearsThanks for asking, yes I did get paid the commission and it was great!
-
Pacerier over 6 yearsHow does using
jar
differ from usingzip -FF
?