Bzip2: Data integrity error when decompressing

  
 

Use the command under linux:

tar jxvf **.tar.bz2

Unpack the .bz2 format compressed file, an error message appears:

bzip2: Data Integrity error when decompressing. Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.You can use the -tvv option to test integrity of such Files.

You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files.

tar: Exception EOFtar in the archive: EOFtar for exceptions in the archive: The error is unrecoverable: now the

file cannot be uncompressed.

The reason is that the file verification failed.

When the files are transferred between windows and linux, and the downloaded files are not completed, the problem is easy to occur. There is only one solution: (in another way) re-download/copy the file and unzip it. Of course, you can also try to use the command to fix it:
$bzip2recover *.tar.bz2

Copyright © Windows knowledge All Rights Reserved