Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For installations i've needed to unzip .tar.gz so ive used tar fvxz file_name.tar.gz yet it replies with

tar (child): file_name.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

what should i do?

share|improve this question
1  
Please provide a link to the instructions you are using. –  Rinzwind Nov 17 '13 at 22:24
    
Find where the tar.gz file is, and then copy it, and paste in place of file_name.tar.gx - you may need to remove file:// from the beginning. Can't you open it and press extract, or right click and press 'Extract Here'. The error message it is outputting is saying it cannot find the file, as there is no file called file_name.tar.gz. –  Wilf Nov 17 '13 at 22:59

1 Answer 1

This is a normal error message stating the file does NOT exist. I get the same reply if I issue that command at a random location:

rinzwind@schijfwereld:~$ tar fvxz file_name.tar.gz
tar (child): file_name.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

If you got the extraction instruction from a site you probably need to change "file_name" to the actual name of the download. It sounds like a generic command for extracting a tar.gz file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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