Sometimes extracting a zip file using the unzip command may result in the “skipping: filename.zip need PK compat. v4.5″ error message.
# unzip filename.zip
Archive: filename.zip
skipping: filename.zip need PK compat. v4.6 (can do v2.1)
This is due to the file been compressed with the latest version of PKZIP which the unzip command cannot handle. The solution is to install p7zip package which can handle the files compressed using PKZIP.
Download the latest version of p7zip:
# wget http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_x86_linux_bin.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2Fp7zip%2F9.20.1%2Fp7zip_9.20.1_x86_linux_bin.tar.bz2%2Fdownload&ts=1390605043&use_mirror=garr
Extract the file
# tar -jxf p7zip_9.20.1_x86_linux_bin.tar.bz2
goto the extracted directory and run the installer
# ./install.sh
This will install the ’7za’ command on your server using which the zip file can be extracted
# 7za x filename.zip
Processing archive: filename.zip
Extracting filename
Everything is Ok
Arama Terimleri:
- pk unzip (44)
- karalamakagidi pk compat (1)
- unzip windows8 need PK compat v4 5 (can do v2 1) (1)
- unzip skipping need pk compat (1)
- unzip error need pk compat v4 5 (1)
- unzip can do v2 0 (1)
- skipping: admin-route properties need PK compat v5 1 (can do v4 6) (1)
- pkunzip need pk compat (1)
- pk zip (1)
- need PK compat v4 6 (can do v2 1) (1)
- need PK compat v4 6 (can do v2 0) (1)
- need PK compat v4 5 (can do v2 1) (1)
- linux unzip need PK compat v4 6 (1)
- linux unzip need PK compat (1)
- linux unzip need pk (1)
- windows free unzip pk compat v5 1 (1)