Extracting zip file fails giving error need PK compat. v5.1

15,807

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).

Share:
15,807

Related videos on Youtube

topless
Author by

topless

Updated on September 18, 2022

Comments

  • topless
    topless over 1 year

    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?

  • papukaija
    papukaija almost 11 years
    The link is broken...
  • Stefano
    Stefano about 9 years
    very good that also the GUI (file-roller) understand to use p7zip if installed!
  • Cerin
    Cerin over 8 years
    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.
  • Abdillah
    Abdillah over 8 years
    No, it's not a broken zip file...