Cannot extract ZIP file in Linux
Dears,,
While trying to extract zip file in Linux, it gave me error: See . . . [root@rap05el DB-64]# unzip -v V11789-01_1of2.zip Archive: V11789-01_1of2.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. unzip: cannot find zipfile directory in one of V11789-01_1of2.zip or V11789-01_1of2.zip.zip, and cannot find V11789-01_1of2.zip.ZIP, period. Please, How can solve this? Thanks & Regards,, |
Quote:
|
I am sure that the file in correct directory.
FYI . . I already extracted the second file V11789-01_2of2.zip and it successful |
Quote:
Code:
$ file V11789-01_1of2.zip V11789-01_2of2.zip |
Most likely, it's corrupt. If you downloaded it there's a chance that it's a partial download. If you know what size the file is supposed to have, double check it with ls -lh
|
[root@rap05el DB-64]# file V11789-01_1of2.zip V11789-01_2of2.zip
V11789-01_1of2.zip: Zip archive data, at least v2.0 to extract V11789-01_2of2.zip: Zip archive data, at least v1.0 to extract |
Which version of zip do you have on this system? Just type
Code:
zip |
[root@rap05el DB-64]# zip
Copyright (C) 1990-2005 Info-ZIP Type 'zip "-L"' for software license. Zip 2.31 (March 8th 2005). Usage: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list] The default action is to add or replace zipfile entries from list, which can include the special name - to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout. -f freshen: only changed files -u update: only changed or new files -d delete entries in zipfile -m move into zipfile (delete files) -r recurse into directories -j junk (don't record) directory names -0 store only -l convert LF to CR LF (-ll CR LF to LF) -1 compress faster -9 compress better -q quiet operation -v verbose operation/print version info -c add one-line comments -z add zipfile comment -@ read names from stdin -o make zipfile as old as latest entry -x exclude the following names -i include only the following names -F fix zipfile (-FF try harder) -D do not add directory entries -A adjust self-extracting exe -J junk zipfile prefix (unzipsfx) -T test zipfile integrity -X eXclude eXtra file attributes -y store symbolic links as the link instead of the referenced file -R PKZIP recursion (see manual) -e encrypt -n don't compress these suffixes Which option you need to know exactly |
That's okay. I agree with i92guboj, at this point. Maybe the file is corrupted or incomplete. Can you download it again?
|
Unfortunately . . . I can not find it now because i downloaded it from along time and this source is missing in the web site now.
So, i tried to make any workaround to solve this |
Quote:
|
So , which zip tool may be help me in this issue
|
You have zip 2.31. So, you have a lot of thing you could try still.
For example, there's a 2.32 version of that same tool. There's also a newer 3.0 version of that same tool. Both can be found at this web page if your distro has not a package for them: http://www.info-zip.org/ There's also an unzip tool on that page, its versioning number is different, 5.52 now. If if the zip tool with -x doesn't work, try the unzip one instead. If all of that fails, try p7zip, it might be able to uncompress the zip files as well. If all else fails, you can still use a windows program under wine to uncompress it. Of course, all of this assumes that the files is not corrupt. I can't be sure about that. |
All times are GMT -5. The time now is 03:32 PM. |