Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tar: Unexpected EOF in archive

I am trying extract .tar.gz file it but with no luck

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

the file tar.gz include another file.tar only which is has the issue

when i trying to extract .tar file i got

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

i tried –ignore-zeros –ignore-failed-read with no luck

how could i extract this file even if it corrupted ?

like image 233
iLinux85 Avatar asked Nov 12 '22 18:11

iLinux85


1 Answers

You tar file is truncated. tar extracts everything present in the archive but cannot invent the missing part.

like image 52
jlliagre Avatar answered Dec 06 '22 09:12

jlliagre