LINUX: Decompression problem Tar:child returned status

Source: Internet
Author: User

When extracting a file

#tar-ZXVF xxxxx.tar.gz

The following error message appears:

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-does with it, and it consequently croaks. Tar stops because Gzip encountered a problem. So, with the file and now, your 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

To find out what he means, look at the use of the tar instructions.

In short: When I came up with this error, I changed the instruction to:

TAR-XVF xxxx.tar.gz

Then the command runs.

If this method doesn't work, you can only think of another way.

LINUX: Decompression problem Tar:child returned status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.