Linux executes tar decompression error tar: Error is not recoverable: exiting now

Under Linux operating system, after downloading the xx.tar.gz file and then executing tar -zxvf xx.tar.gz, the following error appears:

3.4.10/src/java/test/org/apache/zookeeper/test/QuorumUtil.java tar: 归档文件中异常的 EOF tar: 归档文件中异常的 EOF tar: Error is not recoverable: exiting now

There are two solutions.

Solution 1: Remove the z in the decompression parameter and change the execution command to: tar -xvf xx.tar.gz.

The reason for this scheme is: the downloaded file is not "filtered archive through gzip", so adding the parameter z cannot decompress normally.

If the program still cannot be decompressed normally, try the second program.

Option 2: Re-download or upload the compressed file

This solution is for the incomplete download of compressed files, which means that the download is not completed normally. You can download it again in another way. For example, after downloading through wget, the above problem occurs in execution. You can try to download directly on other machines, then upload to the target server and execute the above decompression command.

Original link: " Linux executes tar decompression error tar: Error is not recoverable: exiting now "


New Vision of Procedure

The public account " New Vision of Program ", a platform that allows you to simultaneously improve your soft power and hard technology, providing massive amounts of data

WeChat Official Account: New Vision of Program

Guess you like

Origin blog.csdn.net/wo541075754/article/details/107740813