Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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,,
Last edited by eng_mohammedmostafa; 05-26-2009 at 08:11 AM.
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.
Given the file name, most likely you miss the second part of the archive. It should be into the current directory, together with the first part.
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
[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
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
[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
It called my attention that both files have been packed with different versions of the zip tool. Maybe that's your problem and simply the first file (which fails) is not supported by your unzip tool.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.