Tar cannot decompress. zip Format Package

Source: Internet
Author: User

After the end of Ubuntu, download a ADT to work and learn, download the discovery is a. zip format of the compression package, not common. tar.gz just used a few tar orders, just to try,

1 TAR-VXTF Adtxxxx.zip

Result error prompt

Gzip:stdin has more than one entry--rest ignored Tar:child returned
status 2
tar:error are not recoverable:exit ING now

Baffled, but also thought that half of the bottle with the wrong, search a few other matching parameters do not use.

Finally found a case

Http://lists.gnu.org/archive/html/bug-tar/2008-09/msg00014.html

Originally tar was also indirectly called gzip, and gzip usage was limited: The Files created by Zip can is uncompressed by gzip to if they have a single member compress Ed with the ' deflation ' method.

That is, a single file with deflation compressed packets can be used to extract the gzip, fortunately there are workaround----unzip

Unzip usage is also very simple, directly knock unzip on the tip, the last sentence to fix:

Unzip adt-bundle-linux-x86_64-20131030.zip-d/home/administrator/work/adt2/

-D for the specified output folder, not set up seemingly on the PWD, the current folder.

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.