About (gzip: stdin: not in gzip format tar :...) Problem Solving

Source: Internet
Author: User
Tags ftp client

I encountered the same problem as below, so I found the corresponding solution article on the Internet, as follows:

Extract some. tar.gz
This occurs when a file is in the format of gzip: stdin: not in gzip format tar: Child returned status 1 tar: due to the previous delay error, exit solution: for some websites, the download link of an object is not directly directed to the object, but to a page first. The download link on this page is the actual download link. Therefore, you can directly Save the object on the previous page, actually, a page is saved. You can use the file command to view the file format.



user@router> request system software add /var/tmp/junos-jseries-9.2R2.15-domestic.tgz 

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors
WARNING: Cannot use /var/tmp/junos-jseries-9.2R2.15-domestic.tgz:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Solution:
This
Can happen when the downloaded JUNOS image file has been upted during transfer. Download the file again and doNotModify
The fileInAny
Way. If downloading via FTP, be sure to set FTP client to use binary andNotASCII
Mode.Purpose:
Installation

Source: http://hi.baidu.com/meilei/blog/item/a33fc99526432e41d1135

My own solution is as follows:
The parameter f is removed. Tar-x *. tar

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.