Bug 428948

Summary: Compression method not supported (zip, need PK compat. v6.3)
Product: [Applications] ark Reporter: Xavier Corredor Llano <xavier.corredor.llano>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: normal CC: justin.zobel, rthomsen6
Priority: NOR    
Version: 20.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Xavier Corredor Llano 2020-11-11 01:06:23 UTC
Hey folk,

I cannot decompress a zip file (only by terminal), Ark says:

> There was an error while extracting ‘GFDLCM3_scaled.zip’:
> Failed to open 'GFDL_CM3_scaled/g_clim_res.tfw': Compression method not supported

in terminal (failed):


> $ unzip GFDLCM3_scaled.zip
> Archive:  GFDLCM3_scaled.zip
> skipping: GFDL_CM3_scaled/g_clim_res.tfw  need PK compat. v6.3 (can do v4.6)
> skipping: GFDL_CM3_scaled/g_clim_res.tif  need PK compat. v6.3 (can do v4.6)
> ....

in terminal (works):

> $ 7z x GFDLCM3_scaled.zip

File for testing:
https://s3-us-west-2.amazonaws.com/www.cacpd.org/Littlefieldetal2017/GFDLCM3_scaled.zip

Using Archlinux with Ark v20.08.3
Comment 1 Justin Zobel 2020-11-11 03:23:15 UTC
Confirmed on KDE Neon Unstable, same error.
Comment 2 2wxsy58236r3 2020-11-11 06:45:15 UTC
Please make sure you have p7zip installed and have p7zip plugin enabled in Ark settings.

The test file uses LZMA, which is not supported by unzip plugin.
Comment 3 2wxsy58236r3 2020-11-11 07:00:06 UTC
By the way, libzip plugin should probably be disabled in this case, otherwise Ark will use libzip and fail to decompress the file.

libzip's LZMA support should be available in the next release. If you want to use libzip to decompress the test file, you will need to compile libzip from git and patch Ark.
Comment 4 2wxsy58236r3 2020-11-11 07:01:59 UTC

*** This bug has been marked as a duplicate of bug 387996 ***
Comment 5 Xavier Corredor Llano 2020-11-11 07:49:56 UTC
I got it, thanks for all info @2wxsy58236r3