0

I have a problem unzipping an archive.

ubuntu:~% sudo gzip -dc xymon-4.3.18.tar.gz | tar xf - 

gzip: xymon-4.3.18.tar.gz: No such file or directory

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

How to extract files from the archive?

1 Answer 1

0

Try using the following command: tar xvzf xymon-4.3.18.tar.gz. If the error message still exists the file may be corrupted.

7
  • ubuntu:~> sudo tar xvzf xymon-4.3.18.tar.gz tar (child): xymon-4.3.18.tar.gz: Cannot open: 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 guess the file is gone...but how is that possible? i downloaded it directli to the folder witch i was trying to un zip-it. And now i can't even delete it. hehe :) What can i do? :) tnx!
    – Ales Krek
    Feb 20, 2015 at 13:47
  • did you remeber to download the file with binary mode? If not, that might be a reason for being corrupted.
    – ryder
    Feb 20, 2015 at 14:40
  • hey me again. ja you're right. it was not downloaded with binary system. but now i downloaded with binary system and try to install it. and i get thet: ubuntu:~> sudo tar zxvf xymon-4.3.18.tar.gz tar (child): xymon-4.3.18.tar.gz: Cannot open: 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
    – Ales Krek
    Feb 20, 2015 at 19:45
  • tnx 4 your hel mait :)
    – Ales Krek
    Feb 20, 2015 at 19:46
  • If you send me the link, I try to download it and extract.
    – ryder
    Feb 21, 2015 at 12:02

You must log in to answer this question.

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