iLinux85
iLinux85

Reputation: 387

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 ?

Upvotes: 6

Views: 12456

Answers (1)

jlliagre
jlliagre

Reputation: 30813

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

Upvotes: 1

Related Questions