Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tar: Error is not recoverable: exiting now

when I untar doctrine

-rw-r--r-- 1 root root 660252 2010-10-16 23:06 Doctrine-1.2.0.tgz 

I always get this error messages

root@X100e:/usr/local/lib/Doctrine/stable# tar -xvzf Doctrine-1.2.0.tgz  . . .  Doctrine-1.2.0/tests/ViewTestCase.php Doctrine-1.2.0/CHANGELOG  gzip: stdin: decompression OK, trailing garbage ignored Doctrine-1.2.0/COPYRIGHT Doctrine-1.2.0/LICENSE tar: Child returned status 2 tar: Error is not recoverable: exiting now 

The untar operation works, but I always get this error messages.

Any clues what I do wrong?

like image 388
udo Avatar asked Oct 16 '10 21:10

udo


People also ask

How do you fix tar Exiting with failure status due to previous errors?

To solve the problem, simply adjust the permission of the problematic file (or remove it), and re-run tar .

How do I unzip a tar gz file?

Simply right-click the item you want to compress, mouseover compress, and choose tar. gz. You can also right-click a tar. gz file, mouseover extract, and select an option to unpack the archive.

What is XVF in tar?

xvf is the Unix-style, short method to implement –extract –verbose –file. So, x stands for extracting the archive, v for displaying Verbose information, and f for specifying a filename.


1 Answers

I would try to unzip and untar separately and see what happens:

mv Doctrine-1.2.0.tgz Doctrine-1.2.0.tar.gz gunzip Doctrine-1.2.0.tar.gz tar xf Doctrine-1.2.0.tar 
like image 196
Peter G. Avatar answered Sep 22 '22 09:09

Peter G.