unzip Problem

whopper

Well-Known Member
Ich glaub zwar nicht, dass es hier so richtig ist, da es ja nicht FreeBSD spezifisch ist, aber ich wusste nicht wohin.

Ich hab folgendes Problem ich will eine Zip-Datei entpacken.

Code:
$file foo.zip 
foo.zip: Zip archive data, at least v2.0 to extract

mit unzip

Code:
$unzip -v
UnZip 5.52 of 28 February 2005
...

aber es geht irgendwie nicht:

Code:
$unzip -x foo.zip 
Archive:  foo.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 foo.zip or
        foo.zip.zip, and cannot find foo.zip.ZIP, period.

Aber es ist sicher eine korrekte Zip Datei.

Hab auch schon google und die boardsuche bemüht, aber nichts gefunden

Kann es daran liegen:

Code:
$unzip -v
...
UnZip special compilation options:
        ASM_CRC
---> COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)     
        SET_DIR_ATTRIB
        TIMESTAMP
        USE_EF_UT_TIME
        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
        VMS_TEXT_CONV
        [decryption, version 2.9 of 05 May 2000]
...
 
Zuletzt bearbeitet:
Jetzt habe ich Probehalber mal die Zip Datei mit unzip auf ner Gentoo Maschine probiert und siehe da es geht :)

Aber wieso?

Es sind genau die selben Versionen nur das auf BSD es mit gcc 3.4.4 kompiliert wurde und auf Gentoo mit gcc 4.1.1
 
sry , du hast oben schon gemacht ich habe es nicht gesehen aber hast du die gleiche Datei in Linux und BSD entpackt ?
 
[x] gleiches Problem

hatte nur nicht weiter nachgeforscht, weils nicht wichtig war. Habs auch wieder gelöscht, aber war auch ein eine Zip-Datei der Version 2.0 (s. erster Eintrag von whopper).

whopper schrieb:
$file foo.zip
foo.zip: Zip archive data, at least v2.0 to extract
 
Zurück
Oben