tar解压问题gzip: stdin: not in gzip format
2015-09-24 16:39 潇湘隐者 阅读(34642) 评论(2) 编辑 收藏 举报如下所示,使用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]#
扫描上面二维码关注我
如果你真心觉得文章写得不错,而且对你有所帮助,那就不妨帮忙“推荐"一下,您的“推荐”和”打赏“将是我最大的写作动力!
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接.