你好,游客 登录 注册 搜索
背景:
阅读新闻

tar解压问题gzip: stdin: not in gzip format

[日期:2015-09-25] 来源:潇湘隐者的博客  作者:潇湘隐者 [字体:大 中 小]

如下所示,使用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]#

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-09/123505.htm

linux
相关资讯       tar解压 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款