gzip: stdin: unexpected end of file tar: 歸檔文件中異常的 EOF
問題描述:
使用tar命令解壓文件時,報錯:
gzip: stdin: unexpected end of file tar: 歸檔文件中異常的 EOF
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
原因:
下載的源碼包在下載過程中被破壞或者不完整所致。
解決:
重新下載壓縮包,檢查壓縮包大小。