1. 程式人生 > >gzip: stdin: unexpected end of file Linux解壓檔案出錯

gzip: stdin: unexpected end of file Linux解壓檔案出錯

[[email protected] jdk1.8]# tar -zxvf jdk-8u161-linux-x64.tar.gz jdk1.8.0_161/ jdk1.8.0_161/javafx-src.zip

gzip: stdin: unexpected end of file tar: 歸檔檔案中異常的 EOF tar: 歸檔檔案中異常的 EOF tar: Error is not recoverable: exiting now  

[[email protected] jdk1.8]# ls -lht jdk-8u161-linux-x64.tar.gz -rw-r--r--. 1 root root 420K

10月 25 14:41 jdk-8u161-linux-x64.tar.gz [[email protected] jdk1.8]#  [[email protected] jdk1.8]#  [[email protected] jdk1.8]#  [[email protected] jdk1.8]#  [[email protected] jdk1.8]#  [[email protected] jdk1.8]# ls -lht jdk-8u161-linux-x64.tar.gz -rwxrw-rw-. 1 root root 181M
10月 25 10:58 jdk-8u161-linux-x64.tar.gz  

查了一下是因為複製過來的檔案損壞了 再次複製一次就解決了