Trying to unzip file
42,422
Solution 1
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
Solution 2
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.
Related videos on Youtube
Author by
Pedro Cora
Updated on September 18, 2022Comments
-
Pedro Cora almost 2 years
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?
-
Admin almost 11 yearsTry
7z x file.zip
install info, I am pretty sure that error is related to password protected zips, which the built in doesn't really support.
-
-
user924 about 5 years@avernet then why Windows can do it and macOS not? Is macOS that bad?
-
Oleg Sapishchuk about 4 yearsI did use on macOS only
brew install p7zip
and7za x file.zip
- all is working -
xenoterracide over 3 yearsthis helped me too, mine was
need PK compat. v5.1 (can do v4.5)
just for google index. I also used brew. -
Criggie about 3 yearsas of 2021 "Error: homebrew/dupes was deprecated. This tap is now empty and all its contents were either deleted or migrated."