我用命令压缩一组文件:tar -czvf file.tar.gz file/
,然后拷贝到usb (ext4格式),我检查我可以解压它。我重新安装系统后,当挂载usb时,发生了一些错误,我执行了fsck /dev/sdc1
并成功挂载并将其复制到pc上。当我解压tar -xvf file.tar.gz
时,错误再次发生:
gzip: stdin: not in gzip format
tar : child returned status 1
tar: Error is not recoverable: exiting now
我不知道如何抢救这些数据。任何需要帮助的地方。谢谢。
发布于 2018-09-13 19:33:15
@sitexa,当文件没有完全下载(传输)时,我得到了这个错误。
tar xvfz apache-tomcat-8.5.12.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
此错误是由于文件未完全下载而导致的。
https://stackoverflow.com/questions/52029449
复制相似问题