Ark fails to produce zip archive instead making gzip with the zip suffix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubuntu PPA |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Same as with the https:/
Ubuntu 14.10
Package ark (4:4.14.
Ark: 2.19
Steps to reproduce:
1) Compress a file to the .zip format with the Ark. Either from the Ark or from the file manager context menu.
2) Unpack the .zip file with the 'unzip'command
There is an error message (Test.zip)
Archive: Test.zip
End-of-
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of Test.zip or
The file command is telling:
file Test.zip
Test.zip: gzip compressed data, last modified: Sun Nov 2 11:54:49 2014, from Unix
The Ubuntu package ark (4:4.14.1-0ubuntu1) has a patch 'use_libarchive
Then the file is identified as:
file Test.zip
Test.zip: Zip archive data, at least v2.0 to extract
and the unzip can unpack it:
unzip Test.zip
Archive: Test.zip
inflating: Test.txt
How to replicate:
WRONG On Kubuntu 14.10
$ ark -v
Qt: 4.8.6
KDE Development Platform: 4.14.1
Ark: 2.19
$ touch oink
$ ark --changetofirstpath --add --autofilename zip oink
$ file oink.zip
oink.zip: gzip compressed data, last modified: Mon Nov 3 12:19:19 2014, from Unix
RIGHT On Kubuntu 14.04
$ ark -v
Qt: 4.8.6
KDE Development Platform: 4.13.3
Ark: 2.19
$ touch oink
$ ark --changetofirstpath --add --autofilename zip oink
$ file oink.zip
oink.zip: Zip archive data, at least v2.0 to extract