11

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?

12
  • 2
    What error's do you get ?
    – Soren A
    Commented Sep 25, 2017 at 13:50
  • 1
    What's the complete command used ? If you used a GUI could you try with unzip command ?
    – pLumo
    Commented Sep 25, 2017 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
    Commented Sep 25, 2017 at 13:58
  • 2
    @hamidi or the zip file is corrupt or incomplete! Commented Sep 25, 2017 at 14:03
  • 1
    Did you run zip -T name_of_zip_file.zip? Commented Sep 25, 2017 at 14:17

5 Answers 5

5

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.

0
5

Using the java archiver (as suggested here) did the trick for me. The syntax is as follows:

jar xvf file.zip
3

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

8
  • Zip64 is a format or a tool?
    – hamidi
    Commented Sep 25, 2017 at 14:09
  • I believe you have 64bit Ubuntu so zip64 version should be in use Commented Sep 25, 2017 at 14:12
  • yes i do. but how can i make sure?
    – hamidi
    Commented Sep 25, 2017 at 14:15
  • Run zip --version and check for it in the output Commented Sep 25, 2017 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. Commented Sep 25, 2017 at 15:06
1

I suggest 7zip

If it is not already installed, install the p7zip-full package:

sudo apt-get install p7zip-full

Then do:

7z x file.zip  

You can also use it with .7z and (with p7zip-rar) .rar files.

0

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)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .