Ubuntu – Error when extracting lzma tar ball in terminal tar : “Unexpected EOF in archive”

compressionextracttar

xz: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

What does this mean?

What I entered:

sudo tar --lzma -xvf filename.tar.lzma 

Best Answer

An EOF (end of file) error means that the application was expecting there to be more data available, but it ran out of data and reached the end of the file. In the case of trying to decompress a tarball, most likely the tarball is corrupt. If you downloaded it from the internet, you could try downloading it again.

Related Question