11

I have a password protected zip file which was created in Windows. When I am trying to extract the same file under Ubuntu I get the error need PK compat. v5.1 (can do v4.6). Any idea how to proceed?

topless
  • 7,255
  • 9
  • 37
  • 43

2 Answers2

17

According to this thread you can use 7z for this. First install p7zip-full package with:

sudo apt-get install p7zip-full

Then either use the GUI or extract the archive with this command:

7z e /path/to/file

or

7z x /path/to/file

(second one preserves directory structure).

Eric Carvalho
  • 53,609
  • 102
  • 137
  • 162
heartsmagic
  • 5,340
  • 1
  • 26
  • 45
  • very good that also the GUI (file-roller) understand to use p7zip if installed! – Stefano Feb 06 '15 at 07:56
  • This fixed the problem for me. Note that even though this fixes file-roller, the `unzip` tool will continue to report this error, so you'll have to use `7z` for normal zip/unzip. – Cerin Nov 02 '15 at 16:46
-3

Fix zip file by the use of fixing broken zip file missing parts

Item http://www.fixbrokenzipfile.zipfilefix.com will give you the conception how to handle the issue