歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> bzip2: Data integrity error when decompressing

bzip2: Data integrity error when decompressing

日期:2017/3/2 9:38:17   编辑:關於Linux

在linux下使用命令:

tar jxvf **.tar.bz2

解壓.bz2格式壓縮文件時,出現錯誤提示:

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: 歸檔文件中異常的 EOF
tar: 歸檔文件中異常的 EOF
tar: 錯誤不可恢復:現在退出

文件無法解壓。

原因即文件校驗失敗。

當在windows與linux互傳文件、下載文件未完成等時,即容易出現該問題。解決方法只有一個:(換一種方式)重新下載/拷貝該文件,再進行解壓縮。
當然,你也可以嘗試使用命令修復一下:

$bzip2recover *.tar.bz2

Copyright © Linux教程網 All Rights Reserved