Skip to contentSkip to conversation

Zip problems

DISCUSSION Bryan Simmons 2 participants 2 messages Oct 29, 2002

lore
Share & tools
lore
#0 lore raw

Can anyone tell me what the problem is if you've just installed Mandrake 9.0 on an Athlon XP 2100+ system, ATA 100 HD, VIA chipset MB (don't know which chipset number), etc... I thought I installed every library under the sun, as well as every non-server application, but when I try to run the command 'unzip' I get this error:

Archive: /usr/bin/unzip
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.

note:  /usr/bin/unzip may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of /usr/bin/unzip or

/usr/bin/unzip.zip, and cannot find /usr/bin/unzip.ZIP, period.

Also, when I open a zip file in Ark, it says that there is nothing in the archive eventhought the file is listed as 900k or so... And when I try to open any zip in gnozip, the program aborts swiftly, with only these errors (from bash command line):

** WARNING **: Couldn't find pixmap file:
/usr/share/pixmaps/gnozip/gnozip/directory.xpm

** WARNING **: Couldn't find pixmap file:
/usr/share/pixmaps/gnozip/gnozip/link.xpm
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.

** WARNING **: GnoZip: gz_zip_list: date field too long

GLib-CRITICAL **: file gstrfuncs.c: line 1312 (g_strchug): assertion `string != NULL' failed.

note:  /usr/bin/unzip may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of /usr/bin/unzip or

/usr/bin/unzip.zip, and cannot find /usr/bin/unzip.ZIP, period.

[+1] Segmentation fault

I'm baffled. Can anyone suggest possible solutions?

Signature · 7 lines
Bryan Simmons <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw
Quoted 6 lines · Bryan Simmons

Can anyone tell me what the problem is if you've just installed Mandrake 9.0 on an Athlon XP 2100+ system, ATA 100 HD, VIA chipset MB (don't know which chipset number), etc... I thought I installed every library under the sun, as well as every non-server application, but when I try to run the command 'unzip' I get this error:

Quoted 8 lines

Archive: /usr/bin/unzip
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.

note:  /usr/bin/unzip may be a plain executable, not an archive
unzip:  cannot find zipfile directory in one of /usr/bin/unzip or

/usr/bin/unzip.zip, and cannot find /usr/bin/unzip.ZIP, period.

It is easier to diagnose problems with a command when you include the exact command you ran. That said, the first thing to try doing is believing the error message you are getting: the target file you ask unzip to unzip is not a zip archive.

From the output of the command, it *appears* you entered something like "unzip /usr/bin/unzip", since the "Archive:" part of the message should be reporting the name of the file you are trying to unzip. Of course, the executable unzip is not iself a zip file, so unzip cannot unzip itself.

As you can see here, I get this same sort of report when I try to unzip an ordinary text file (it matches word for word, except for the names of the files).

        autovcr@waverly:~$ unzip vcrlogfile.txt
        Archive:  vcrlogfile.txt
        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 vcrlogfile.txt or
                        vcrlogfile.txt.zip, and cannot find 
vcrlogfile.txt.ZIP, period.

If I have guessed incorrectly here about what command you entered, please report the actual command you did enter to get this output.

I don't use the other commands you asked about, so I can't make any suggestions there.

Quoted 4 lines

Also, when I open a zip file in Ark, it says that there is nothing in the archive eventhought the file is listed as 900k or so... And when I try to open any zip in gnozip, the program aborts swiftly, with only these errors (from bash command line):

[details deleted]

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs