When executing the tar – zxvf xxxx.tgz command,
prompt the following information:
gzip: stdin: invalid compressed data – format violated
tar: child returned status 1
tar: error is not recoverable: exiting now
method 1
-
- reason: the compressed package is not compressed in gzip format, so there is no need to add Z instruction. Solution: use tar – xvf xxxxx.tgz command (i.e. remove Z parameter)
Method 2
-
-
- rename the downloaded file to tar suffix, MV xx.tgz xx.tar, and then execute the decompression command: tar – zxvf XX. Tar </ OL>
-
Method 3
add after WGet
--no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"
For example:
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz"
or
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" -c -O 数据集名字 "对应的网页下载链接"
Read More:
- [Solved] Linux Error: tar: Error Is Not Recoverable: Exiting Now
- Solution of device eth0 does not see to be present, delaying initialization. Error in network card under Linux
- [Solved] Ubuntu Error: ./configure: error: the HTTP gzip module requires the zlib library.
- Error in Linux running file: bash: $’\r’: command not found
- Chinese garbled problem when running. C file in Linux
- The problem of inconsistent host names in building rabbitmq on Linux
- [Solved] ubuntu makefile Cross-compilation error: file not recognized: file format not recognized
- [Solved] Win10 and Linux address reading format is different (CV2. Error: opencv (4.2.0)/Io/opencv…)
- Solution to IO error encountered in Rsync: skipping file deletion
- Linux useradd Error: Creating mailbox file: File exists
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- [Solved] ubuntu Run jupyter Error: print(‘Error in generated code:‘, file=sys.stderr) SyntaxError: invalid syntax
- How to Create Threads in Linux
- [Solved] Linux — 9 — txt files are copied from windows to Linux and read error
- How to Export All data in DataGridView to Local Excel
- [Solved] Linux Calls mmap Error: mmap: Invalid argument
- [Solved] Go use zoom to connect DM database and start reporting error in Linux
- Shell: How to Get System Current Tme and Format it
- Docker Startup Error: standard_init_linux.go:211: exec user process caused “no such file or directory”
- Linux Nagios failed to log in to internal server error (Fixed)