SoFunction
Updated on 2025-04-07

Linux error: tar: Error Is Not Recoverable: Exiting Now Problem and Solution

Linux error: tar: Error Is Not Recoverable: Exiting Now

Under Linux operating system, download the file and execute tar -zxvf.

The following error occurred when the execution was performed:

: Exception in archive file EOF tar: Exception in archive file EOF tar: Error is not recoverable: exiting now

There are two solutions.

Plan 1

Remove the z in the decompression parameter and execute the command to: tar -xvf .

The reasons for this plan are:

  • The downloaded file is not "filtered by gzip", so adding parameter z cannot decompress normally.
  • However, this kind of problem will not occur when downloading from the official website. You must download the full version on the official website.

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

Plan 2

Re-download or upload compressed files

This solution is for the downloaded compressed file is not complete, which means that the download has not been completed normally.

You can download it again in another way. For example, after downloading through wget, the above problem occurs when the execution occurs.

You can try to download it directly on other machines, then upload it to the target server and then execute the above decompression command.

Summarize

The above is personal experience. I hope you can give you a reference and I hope you can support me more.