gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now
将windows系统中的文件直接拖入虚拟机VMware的Linux系统中,使用命令
tar -zxvf 压缩包名
时,会报如下错误:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
解决办法:在windows系统中右键复制需要传入虚拟机中的文件,然后在虚拟机的Linux系统中选择右键粘贴,不会再报错。
注意:此方法适合有时直接将windows系统中的文件直接拖入虚拟机的Liunx系统中,进行解压时报错。