System says my zip file is okay, but I can't extract it through unzip. I think maybe because it's such a large file (34 GB) that unzip might not support it.

Is there a way to get this to work?

  • 2
    What error's do you get ? – Soren A Sep 25 '17 at 13:50
  • 1
    What's the complete command used ? If you used a GUI could you try with unzip command ? – pLumo Sep 25 '17 at 13:54
  • i tried the command line unzip. i get the following: file #66350: bad zipfile offset (lseek): 38631718912 and file #65841: bad zipfile offset (local header sig): 35508700841 – hamidi Sep 25 '17 at 13:58
  • 2
    @hamidi or the zip file is corrupt or incomplete! – George Udosen Sep 25 '17 at 14:03
  • 1
    Did you run zip -T name_of_zip_file.zip? – George Udosen Sep 25 '17 at 14:17

I think your file download is incomplete. From here it says:

For reference purposes, with the Zip64 extension to the Zip file format enhancement, Zip files of 16 exabytes, which is over 16 billion gigabytes (or 2 to the 64th power bytes) are possible. Likewise, over 4 billion files and folders can be included in a Zip file.

Please check the integrity of your zip file with: zip -T name_of_zip_file.zip, an OK is expected if download was complete. And current Ubuntu 64bit has zip64 capability already compiled into your zip tool. Check that with zip -v

| improve this answer | |
  • Zip64 is a format or a tool? – hamidi Sep 25 '17 at 14:09
  • I believe you have 64bit Ubuntu so zip64 version should be in use – George Udosen Sep 25 '17 at 14:12
  • yes i do. but how can i make sure? – hamidi Sep 25 '17 at 14:15
  • Run zip --version and check for it in the output – George Udosen Sep 25 '17 at 14:16
  • 1
    @George: The Zip64 format and zip’s capability to decompress and extract it don't depend on the CPU word length. Zip64 archives work just fine on 32-bit operating systems. – David Foerster Sep 25 '17 at 15:06

I just extracted a 13GB file. I was unable to unzip it using the extract tool, right clicking on the file (I'm in KDE, so this is dolphin). I ran into a similar error, where it said that "The archive you're trying to open is corrupt. Some of the files may be missing or damaged.". Instead I used dtrx from the command line, and it worked on the first try.

To install dtrx I typed: sudo apt-get install dtrx

To run the extraction I typed dtrx filename.zip with no flags.

| improve this answer | |

say, did you try all the other unpackers which are available ? there is also p7zip, b1 Archiver (snap store) and more..

i have had couple of zips rars and so forth sometime, which did not or did not correctly unpack, in case this happens i simply switch to use another unzipper/unpacker for the file.

(it sometimes helps)

| 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.