LINUX:解压问题tar: Child returned status
2016-07-15 19:12
489 查看
解压某个文件时
#tar -zxvf xxxxx.tar.gz
出现下面的错误提示:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
You used "tar -zxvf" for the second command. the 'z' option tells tar to use gzip to uncompress the file. Since you already uncompressed it in the first command, gzip doesn't know what to do with it, and it consequently croaks. Tar stops because gzip encountered a problem. So, with the file you have now, you would extract it with:
tar -xvf xxxxxx.x.x.tar
I would go back and re-gzip the tar file though (to save space):
gzip xxxxxx.x.x.tar
tar -zxvf xxxxxx.x.x.tar.gz
想刨根问底的可以查下他的意思,在看下TAR 指令的用法,。
总之:我出现这个错误时,就是把指令改为:
tar -xvf xxxx.tar.gz
然后指令就运行了。。
若此法不管用,只能再想别的方法了
#tar -zxvf xxxxx.tar.gz
出现下面的错误提示:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
You used "tar -zxvf" for the second command. the 'z' option tells tar to use gzip to uncompress the file. Since you already uncompressed it in the first command, gzip doesn't know what to do with it, and it consequently croaks. Tar stops because gzip encountered a problem. So, with the file you have now, you would extract it with:
tar -xvf xxxxxx.x.x.tar
I would go back and re-gzip the tar file though (to save space):
gzip xxxxxx.x.x.tar
tar -zxvf xxxxxx.x.x.tar.gz
想刨根问底的可以查下他的意思,在看下TAR 指令的用法,。
总之:我出现这个错误时,就是把指令改为:
tar -xvf xxxx.tar.gz
然后指令就运行了。。
若此法不管用,只能再想别的方法了
相关文章推荐
- Linux信号(signal) 机制分析
- VMWare克隆Linux虚拟机后eth0找不到的解决方法
- error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
- error: /lib64/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
- linux安卓开发,解决 java 摆脱, openjdk 的方法
- Linux之用户
- centos7之lamp环境搭建
- centos之lnmp
- 进程管理
- 在CentOS中搭建Gogs服务器
- Linux系统管理命令之accton的使用
- Linux下格式化U盘及分区
- linux的一些命令
- linux rpm 安装包 信息查询
- winscp 连接 linux
- linux下mysql安装
- centos7 和centos 6的一些区别
- Linux下利用NFS和Samba在source insight上快速开发应用程序
- Linux运维基础命令笔试题
- CentOS 7修改MySQL 5.6字符集为UTF-8