Invalid Compressed Data-length Error Gzip
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack gzip: stdin: invalid compressed data--length error Overflow the company Business Learn more about hiring developers or posting ads with us Unix zcat invalid compressed data length error & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for invalid compressed data--length error zgrep users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up gzip invalid compressed data--format violated and rise to the top Error with a .gz file decompression in Mint, but works perfectly in Windows, so the file is not corrupt up vote 2 down vote favorite I've downloaded some .csv files from the OECD Stats website, since I need them to plot some graphs with gnuplot. When I open them with File Roller 3.4.1 (the default program to handle archive files), there's a file that seems empty (0 byte). When
Gunzip Has More Than One Entry Unchanged
I try on the terminal, I get: gunzip Financial\ Indicators\ –\ Stocks.gz gzip: Financial Indicators – Stocks.gz: invalid compressed data--length error gzip: Financial Indicators – Stocks.gz has more than one entry -- unchanged So the file seems corrupted, but I sent it to a friend who uses Windows. He extracted the file on his computer and sent me the output: it's a zip files which, in turn, contains two .csv files. So the file is not corrupt, there must be a problem with the packages used to handle them. Any suggestion? compression gzip share|improve this question edited Nov 19 '13 at 13:27 Zelda 3,9621023 asked Nov 15 '13 at 11:25 Luigi 15128 1 Run file Financial\ Indicators\ –\ Stocks.gz, to see what's actually there. –angus Nov 15 '13 at 11:28 The output is: Financial Indicators – Stocks.gz: Zip archive data, at least v3.0 to extract –Luigi Nov 15 '13 at 11:35 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted If it is a zip then the file extension is wrong, and you can not use gunzip. If it contains 2 files then it is not a gzip file, gunzip works with single files, it just compresses, sometimes we use it with tar to combine file. It may be
1.0.6. The downloaded file was
Gunzip Error Codes
in the tar.gz format. When the download finished tar: unexpected eof in archive I tried to gunzip it and got the following errors: gunzip: web-XXXX.tar.gz: invalid compressed data--crc error gunzip: web-XXXX.tar.gz: invalid compressed data--length error So, I contacted the publisher and said, hey, I think this file http://unix.stackexchange.com/questions/101254/error-with-a-gz-file-decompression-in-mint-but-works-perfectly-in-windows-so is bad. They checked and said it worked for them. I downloaded the same file to a SuSE v9.2 system using Firefox 1.0.6 and it gunzipped fine - same file size as earlier download, though SuSE has gzip v1.3.5 and FC3 only has http://forums.fedoraforum.org/archive/index.php/t-67688.html 1.3.3. From what I've been able to find, this error occurs most frequently when a binary file is downloaded in ascii mode. I can't find any settings in Firefox that sets the mode ... plus isn't binary mode the default for almost everything? Any ideas on this one? Thanks, dxturner DRE.ORGY.NET4th August 2005, 12:28 AMWhen you downloaded it, did you select to save to a file or to open with an application? dxturner4th August 2005, 04:11 AMsave to file ... I saved it to /tmp/web-XXXX.tar.gz I actually downloaded it twice. The website allows you to select download via FTP or HTTP. When the first file downloaded via FTP gave the gunzip errors, I downloaded it again using HTTP. Same results. vBulletin v3.8.7, Copyright ©2000-2016, vBulletin Solutions, Inc.
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum Your Distro Red Hat / Fedora Linux invalid compressed data--length error If this is your first visit, be sure http://www.linuxforums.org/forum/red-hat-fedora-linux/179914-invalid-compressed-data-length-error.html to check out the FAQ by clicking the link above. You may have to register http://www.linuxquestions.org/questions/linux-newbie-8/problem-zip-file_name-tar-gz-invalid-compressed-data-crc-error-732441/ before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 2 of 2 Thread: invalid compressed data--length error invalid compressed Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 06-20-2011 #1 ozgurozel View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Jun 2011 Posts 1 invalid compressed data--length error Hi everybody. I am new in this forum I have a serious problem I have a something.gz invalid compressed data file. When I type gunzip -c something.gz this commend open the file but at the end of the file I get an error message invalid compressed data--length error. Also if I type more at the and of this commend like gunzip -c something.gz | more, file would not open. It gives some meaningless characters. I want to open this file with more. what is the reason of this problem. Reply With Quote 06-21-2011 #2 Rubberman View Profile View Forum Posts Private Message View Articles Linux Guru Join Date Apr 2009 Location I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away. Posts 13,268 Probably the gzip file is munged. BTW, the -c option outputs the uncompressed data to stdout, and if you pipe it to more (or less) to view the file, make sure it is a text and not a binary file. If you just want to uncompress the file, drop the -c option and it will uncompress the file "something.gz" file to "something", removing the "something.gz" file if it is successful. Normally the -c option is used when you want to redirect to another file name and keep the original .gz file intact. Sometimes, real fast is almost as good as real time. Just remember, Semper Gumbi - always be flexible! Reply With Quote Quick Navigati
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Problem:zip: file_name.tar.gz: invalid compressed data--crc error. User Name Remember Me? Password Linux - Newbie This Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 06-12-2009, 06:22 AM #1 rajivdp Member Registered: Oct 2008 Po