4

I'm using bash (Cygwin, specifically). I'm trying to install GNU dd_rescue, which comes in a .tar.lz archive file.

When I use:

tar -xzf ddrescue-1.22.tar.lz

...it returns with the following error:

gzip: stdin: not in gzip format
tar: Child returned status 1 tar:
Error is not recoverable: exiting now

When I use:

tar --lzip -xf ddrescue-1.22.tar.lz

...it returns with:

tar (child): lzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

How can I extract and install a package from an lzip archive file?

1 Answer 1

8

tar (child): lzip: Cannot exec: No such file or directory

tar complains that it can't find and execute lzip. I suggest to install lzip first.

1
  • 1
    Ah, so that's what that error meant. I just assumed lzip would be a part of the core utilities. Thanks. Jan 15, 2018 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.