Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a file called foo.tar.lzma. While trying to decompress it, I get "Unerwartetes Dateiende" ("Unexpected end of file"). I assume I lost quite a lot of bytes, but 1.1 GB are still there.

The file is quite old and all my backups contain the same corrupted file.
Is there any way to recover the data which is in the remaining part of the archive?

I'm on Ubuntu 12.04, also have Windows XP installed, and I can also visit someone to use a Mac.

share|improve this question
    
How are you decompressing it? How was it compressed? –  Oliver Salzburg Mar 7 '12 at 21:32
    
compressed: I assume it was tar -cf foo.tar bar && lzma -9 foo.tar -- decompressing: I've been trying unlzma foo.tar.lzma and tar -cJf foo.tar.lzma –  Noob Mar 8 '12 at 22:29
    
What's giving the error? tar or unlzma? And I hope the -cJf is a typo, -Jf would make more sense. –  Oliver Salzburg Mar 8 '12 at 22:51
    
$ unlzma -t foo.tar.lzma unlzma: foo.tar.lzma: Unerwartetes Eingabe Ende –  Noob Mar 10 '12 at 7:49
    
tar xJf foo.tar.lzma xz: (stdin): Unerwartetes Eingabe Ende tar: Unerwartetes Dateiende im Archiv. tar: Unerwartetes Dateiende im Archiv. tar: Error is not recoverable: exiting now –  Noob Mar 10 '12 at 7:50
show 1 more comment

1 Answer

Sorry, my fault. lzma didn't produce new files and tar gave errors. But I didn't see tar xJf extracted at least the remaining data

share|improve this answer
add comment

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.