[Bug 1388532] [NEW] Ark fails to produce zip archive instead making gzip with the zip suffix

Sam Rog samrog131 at hotmail.com
Sun Nov 2 10:22:37 UTC 2014


Public bug reported:

Ubuntu 14.10

Package ark (4:4.14.1-0ubuntu1)

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-central-directory signature not found.  Either this file is not
  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
        Test.zip.zip, and cannot find Test.zip.ZIP, period.

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_for_zip_files'. When compiling the Ark without the patch the Ark is compressing to the .zip format.

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

** Affects: ark (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to ark in Ubuntu.
https://bugs.launchpad.net/bugs/1388532

Title:
  Ark fails to produce zip archive instead making gzip with the zip
  suffix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ark/+bug/1388532/+subscriptions




More information about the kubuntu-bugs mailing list