tar解壓問題gzip: stdin: not in gzip format


如下所示,使用tar -zxvf解壓文件時遇到”gzip: stdin: not in gzip format“等錯誤:

[root@DB-Server tmp]#

[root@DB-Server tmp]# tar -zxvf Percona-XtraBackup-2.2.12-r8726828-el5-x86_64-bundle.tar

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error exit delayed from previous errors

最終發現這個壓縮包沒有用gzip格式壓縮,所以不用加z參數,汗顏!

[root@DB-Server tmp]# tar -xvf Percona-XtraBackup-2.2.12-r8726828-el5-x86_64-bundle.tar 
percona-xtrabackup-2.2.12-1.el5.x86_64.rpm
percona-xtrabackup-debuginfo-2.2.12-1.el5.x86_64.rpm
percona-xtrabackup-test-2.2.12-1.el5.x86_64.rpm
You have new mail in /var/spool/mail/root
[root@DB-Server tmp]# 

clip_image001


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM