When trying to unzip a file, I ghet the following error:
Archive: file.zip
skipping: file.bla need PK compat. v4.5 (can do v2.1)
Can any one help?
When trying to unzip a file, I ghet the following error:
Archive: file.zip
skipping: file.bla need PK compat. v4.5 (can do v2.1)
Can any one help?
Try to unzip it with p7zip.
You can install it via MacPorts or Homebrew with these commands, respectively:
sudo port install p7zip
brew install p7zip
Then, to unzip it, use:
7za x file.zip
If you're emotionally attached to using the unzip command; this also works:
$ brew tap homebrew/dupes
$ brew install unzip
$ brew link unzip --force
# Warning: unzip is keg-only and must be linked with --force
# Note that doing so can interfere with building software.
If you're on an older Mac, XCode won't install without the latest OS. I just figured out that it works fine without Xcode or Homebrew, but you have to be comfortable running some terminal commands.
You can download 7za from SourceForge. It will show up as a 7za file with a terminal exec icon. Then copy it to /usr/local/bin and chmod +x /usr/local/bin/7za (I had to create the bin folder). Then type 7za x path/to/your/file.zip and it should work.
$ sudo mkdir -p /usr/local/bin
$ sudo cp /Volumes/p7zip/7za /usr/local/bin
$ sudo chmod +x /usr/local/bin/7za
$ 7za x path/to/your/file.zip
That file was zipped under Windows/Linux using 7zip and you are trying to unzip it under MacOS.
Download The Unarchiver from the App Store and use it to unzip it.