New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to extract a .tgz file #311

Open
bisherbas opened this Issue Oct 20, 2018 · 8 comments

Comments

3 participants
@bisherbas

bisherbas commented Oct 20, 2018

This one in particular: https://download.configserver.com/csf.tgz

Receiving an Unknown error.

image

Archive Utility app is able to extract the file properly.

Environment:

Keka v1.1.4
macOS Mojave
Macbook Air

@aonez aonez self-assigned this Oct 20, 2018

@aonez aonez added bug bsdtar labels Oct 20, 2018

@aonez

This comment has been minimized.

Owner

aonez commented Oct 20, 2018

This file is a GZIP->GZIP->TAR. So it is compressed in GZIP twice.

The Archive Utility extracts the content of a file if it is compressed, so here it extracts the first GZIP, then the second GZIP and then expands the TAR. Keka on the other hand, detects it is a GZIP with a tarball extension (tgz) so tries to extract the GZIP and expand the TAR directly. It fails because it contains another GZIP instead of a TAR.

@aonez

This comment has been minimized.

Owner

aonez commented Oct 20, 2018

Just to test what I'm saying:

  • Rename csf.tgz to csf.gz and extract it
  • Add a .tgz extension to the resulting file and extract it
@aonez

This comment has been minimized.

Owner

aonez commented Oct 20, 2018

It seems all packages from https://www.configserver.com are compressed in the same way...

@gingerbeardman

This comment has been minimized.

Contributor

gingerbeardman commented Oct 20, 2018

I wonder what tool/method that website is using to compress in this funky way?

@aonez

This comment has been minimized.

Owner

aonez commented Oct 20, 2018

Yeah @gingerbeardman, I suppose they must have some reasoning or maybe just a script issue.

@gingerbeardman

This comment has been minimized.

Contributor

gingerbeardman commented Oct 20, 2018

Yes, most likely an alias/shortcut/script that was "set and forget"

@aonez

This comment has been minimized.

Owner

aonez commented Oct 20, 2018

Just added a post to their forum: https://forum.configserver.com/viewtopic.php?f=6&t=11007

Anyway this should be fixed in Keka too. Thanks @bisherbas for the feedback!

@bisherbas

This comment has been minimized.

bisherbas commented Oct 20, 2018

Awesome! Thank you.

@aonez aonez added this to the 1.2.0 milestone Oct 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment