Recently, when we study shell programming, we need to download and unzip some. Tar. GZ files, but we often encounter unzip failure
[root@** media]# tar -zxvf nginx-1.10.2.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
You can use file to see what the real attributes of a file are
[root@** media]# file nginx-1.10.2.tar.gz
nginx-1.10.2.tar.gz: HTML document text
It turns out it’s HTML
The reasons for unsuccessful decompression are as follows:
The download link of the file does not directly point to the file, but points to a page first. Only in this page is the real download link, so saving the file directly on the previous page actually saves a page
If the attribute is a BZ file, use the decompression method of the BZ file
Here’s the process
Finally found that the download path error just
Similar Posts:
- linux Generated when decompressing .tar.gz files gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is no…
- gzip: stdin: not in gzip format tar: Child returned status 1. tar Error is not recoverable: exit…
- Vue project webpack optimization compression webpack plugin open gzip
- [Solved] Nginx Log Error: open() “/opt/Nginx/nginx/nginx.pid” failed (2: No such file or directory)
- The Usage of v-clock
- [Solved] Nginx Start Error: No mapping for the Unicode character exists in the target multi-byte code page
- Linux tar Pack Unzip Error: not in gzip format [How to Solve]
- Nginx Error: nginx: [emerg] “server” directive is not allowed here in
- [IOS series] -A server with the specified hostname could not be found. Problem solved
- Nginx normal user startup configuration error: && springboot-swagger & Unable to infer base url