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?

2 Answers 2

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
0

TL;DR ubuntu command:
sudo apt-get update -y && sudo apt-get -y install lzip

click to see source of command ready to use file explorer!

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Sep 6, 2022 at 6:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .