Announcement

Collapse
No announcement yet.

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

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Few bug reports

    - Ubuntu: https://bugs.launchpad.net/ubuntu/+s...k/+bug/1388532
    - Kubuntu ppa: https://bugs.launchpad.net/kubuntu-ppa/+bug/1388538


    Ubuntu 14.10

    Package ark (4:4.14.1-0ubuntu1)
    Package ark (4:4.14.2-0ubuntu1~ubuntu14.10~ppa1)

    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 & 4:4.14.2-0ubuntu1~ubuntu14.10~ppa1) 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
    Last edited by Rog132; Nov 13, 2014, 02:53 PM.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    #2
    Rog, your test.zip file is dated 6 hours after your post. Are you in England?
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      I'm having exactly the same problem. Has anyone found a reason for this, or a way to fix it?

      Comment


        #4
        I replicated the task by creating a zip file of two odb files using the context-menu entry to create a zip file.
        Code:
        file business.odb.zip
        business.odb.zip: Zip archive data, at least v2.0 to extract
        I then unzipped the file using the command unzip
        Code:
        unzip business.odb.zip    
        Archive:  business.odb.zip
        replace business.odb? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
          inflating: business.odb            
        replace employers.odb? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
          inflating: employers.odb
        I don't appear to have the bug on my system. KDE version 4.14.1

        Comment


          #5
          I'm having exactly the same problem. Has anyone found a reason for this, or a way to fix it?
          Did you read the bug reports ?

          Workarounds:

          1) Build the Ark without the Debian 'use_libarchive_for_zip_files' patch.
          or
          2) Download an older package - You could download packages from the Trusty: http://packages.ubuntu.com -> http://packages.ubuntu.com/search?ke...ll&section=all


          At here - building the Ark ( https://launchpad.net/ubuntu/+ppas?name_filter=ark -> https://launchpad.net/~samrog131/+archive/ubuntu/ppa ) without the Debian patch and installing it.



          Locking the package version with the Muon package manager.



          More ways to hold/pin packages: https://help.ubuntu.com/community/PinningHowto


          ... Are you in England?
          I don't think so: https://www.google.com/search?site=i...ile+in+finland
          Last edited by Rog132; Jan 20, 2015, 05:01 AM.
          A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
          Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

          Comment


            #6
            Originally posted by Rog132 View Post
            Ah, one hour farther East! That makes sense. WOW, that is a huge collection of interesting pictures. There is even one about one of my favorite languages:
            Click image for larger version

Name:	smalltalk.jpeg
Views:	1
Size:	7.2 KB
ID:	642582
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment

            Working...
            X