Recently, we are studying log4j. Download the tar.gz.file from log4j official website. There was an error decompressing
1. wgethttps://www.apache.org/dyn/closer.lua/logging/log4j/2.10.0/apache-log4j-2.10.0-bin.tar.gz. The compressed package was downloaded successfully
2. Unzip the file
tar -zxvf apache-log4j-2.10.0-bin.tar.gz
The following error occurred:
3. All kinds of solutions searched on the Internet have not been solved
1) solution 1: this package is not compressed in gzip format, so there is no need to add Z instruction. Solution: use the $tar – xvf xxxx.tar.gz command (i.e. remove the Z parameter)
2) download the. Zip file. That is, the apache-log4j-2.10.0-bin.zip file in the figure above still has errors
RootCase:
This problem bothered me for a long time, and finally found the problem. It turned out that my link was not the final download link. Should continue to click in, the following figure appears below is the correct link. Problem solving
Similar Posts:
- Linux tar Pack Unzip Error: not in gzip format [How to Solve]
- Error decompressing .tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 ta…
- Download and installation of iconfont in sketch and abnormal display of Icon
- [Solved] Fatal error: Call to undefined function json_decode()
- Unzip decompression failed (cannot find zipfile directory)
- How to solve the problem of “no such BSSID available” when handling 5GHz frequency band WiFi by using air play ng
- linux Generated when decompressing .tar.gz files gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is no…
- Webstorm yarn install Error: internal/modules/cjs/loader.js:892
- [Solved] “tar:Exiting with failure status due to previous errors”
- java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory