Linux Unzip Invalid Compressed Data-crc Error
Contents |
known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All invalid compressed data--length error Thanked Posts Go to Page... learn linux and unix commands - unix shell scripting gzip invalid compressed data--crc error invalid compressed data--crc error Solaris Thread Tools Search this Thread Display Modes #1
Gunzip Invalid Compressed Data--format Violated
04-20-2007 jxh461 Registered User Join Date: Jun 2002 Last Activity: 17 March 2011, 1:15 AM EDT Posts: 62 Thanks: 1 Thanked 0 Times in 0 Posts invalid compressed data--crc error I am getting this error when
Gzip: Stdin: Invalid Compressed Data--length Error
trying to unzip a file.gz . Anyone know how to resolve this ? Remove advertisements Sponsored Links jxh461 View Public Profile Find all posts by jxh461 #2 04-20-2007 reborg Administrator Emeritus Join Date: Mar 2005 Last Activity: 29 March 2012, 7:00 PM EDT Location: Ireland Posts: 4,464 Thanks: 0 Thanked 12 Times in 11 Posts Post the command you are using, it may just be a case of doing gzip stdin invalid compressed data crc error something incorrectly. One thing I have noticed a few times is that files that come from GNU/Linux systems sometimes don't work properly with the Solaris tar. In which case you could try this if it is a tarball... Code: /usr/sfw/bin/gtar zxvf file.tar.gz or usually you would just gunzip ( or gzip -d ) the file. If you truely have a CRC error, then the best thing to do would be to re-download or re-copy the file from a know good source. Remove advertisements Sponsored Links reborg View Public Profile Find all posts by reborg #3 04-20-2007 jxh461 Registered User Join Date: Jun 2002 Last Activity: 17 March 2011, 1:15 AM EDT Posts: 62 Thanks: 1 Thanked 0 Times in 0 Posts Command The command I am using is > gunzip filename.gz jxh461 View Public Profile Find all posts by jxh461 #4 04-20-2007 stdout Registered User Join Date: Feb 2006 Last Activity: 2 August 2009, 2:45 AM EDT Posts: 103 Thanks: 0 Thanked 0 Times in 0 Posts hi, see gunzip --help or that is because you have download the file from FTP not using binary format. cheers. Remove advertisements Sponsored Links stdout View Public Profile Find all posts by stdout « Previous Thread | Next Thread » Thread To
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start 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
Invalid Compressed Data--crc Error, Invalid Compressed Data--length Error
site About Us Learn more about Stack Overflow the company Business Learn more gzip crc about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu tar: unexpected eof in archive is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer http://www.unix.com/solaris/37260-invalid-compressed-data-crc-error.html The best answers are voted up and rise to the top CRC error during extraction of downloaded compressed tar. Tar file is intact up vote 1 down vote favorite I have downloaded a compressed file from http://ds.arm.com/downloads/. File details are DS500-BN-00019-r5p0-21rel1.tgz(64 bit) When I try to extract this file using the following command tar -zxvf DS500-BN-00019-r5p0-21rel1.tgz I receive the following error gzip: stdin: invalid compressed data--crc http://askubuntu.com/questions/651600/crc-error-during-extraction-of-downloaded-compressed-tar-tar-file-is-intact error tar: Child returned status 1 tar: Error is not recoverable: exiting now The same output I got if I try to view contents using "-tzf" option. In different ubuntu environment file extracts successfully. tar is failing to extract only in my ubuntu environment. If I use 7z, I observe the following failure message 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_IN,Utf16=on,HugeFiles=on,4 CPUs) Processing archive: DS500-BN-00019-r5p0-21rel1.tgz Extracting DS500-BN-00019-r5p0-21rel1.tar CRC Failed Sub items Errors: 1 This behavior is observed for all compressed files downloaded from internet. If I use compressed files from different ubuntu environment or from my system itself, I dont observe this behavior. I suspect this is being observed only in my ubuntu environment. Kindly help me in resolving this issue. Following are the environment details Ubuntu 12.04 $ tar --version tar (GNU tar) 1.26 ... $ gzip --version gzip 1.4 ... Kindly let me know if any more details are required. command-line tar extract share|improve this question edited Jul 23 '15 at 8:59 Pilot6 27.8k115098 asked Jul 23 '15 at 5:46 Ven 61 what command are you using to download the file? eg curl, wget, firefox? &ndash
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create https://www.experts-exchange.com/questions/26930430/gzip-stdin-invalid-compressed-data-crc-error.html a Freelance Project Hire for a Full Time Job Ways to Get http://serverfault.com/questions/284750/gunzip-invalid-compressed-data-format-violated Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > gzip: stdin: invalid compressed data--crc error Want to Advertise Here? Solved gzip: stdin: invalid compressed data--crc error Posted on 2011-04-03 Linux invalid compressed OS Dev 1 Verified Solution 6 Comments 5,398 Views Last Modified: 2012-05-11 I am trying to open file and i am getting the following error. could you please advise $ tar xvfz examples.tar.gz ch01_hello tar: Skipping to next header tar: Archive contains obsolescent base-64 headers gzip: stdin: invalid compressed data--crc error gzip: stdin: invalid compressed data--length error tar: Child invalid compressed data returned status 1 tar: Error exit delayed from previous errors 0 Question by:sumanth_ora Facebook Twitter LinkedIn Google LVL 31 Best Solution byfarzanj As I said before, it may be corrupted file. Try gunzip Also try If that does not work too, you can try recovering some data by Go to Solution 6 Comments LVL 31 Overall: Level 31 Linux OS Dev 10 Message Expert Comment by:farzanj2011-04-03 Appears that the file is corrupt. Please issue the following as well tar tvf example.tar.gz See what you get You can also try with tar tvfz example.tar.gz But I think the tar archive is corrupted 0 LVL 31 Overall: Level 31 Linux OS Dev 10 Message Expert Comment by:farzanj2011-04-03 Another thing. Please try this gzip -d file.tar.gz and then do tar -xf file.tar 0 Message Author Comment by:sumanth_ora2011-04-06 No Luck $ gzip -d examples.tar.gz gzip: examples.tar.gz: invalid compressed data--crc error gzip: examples.tar.gz: invalid compressed data--length error $ tar tvf examples.tar.gz -rw-rw-r-- ellen/ora 1769 1997-11-18 16:17:12 ch01_hello tar: Skipping to next header tar: Archive contains
Start 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 Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. 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 and rise to the top gunzip: invalid compressed data--format violated up vote 2 down vote favorite 1 Problem definition: I transferred a tar.gz file from a Linux machine to a Windows partition.The Windows partition has mounted with the Linux server as cifs. OS : Red Hat Enterprise Linux Server release 5 Symptom: After the copy process is successful, doing an integrity check with gunzip -t and the process get the following error: gunzip -t Backup-28--Jun--2011--Tuesday.tar.gz gunzip: Backup-28--Jun--2011--Tuesday.tar.gz: invalid compressed data--format violated And further tried to untar (tar -xvzf) and the process as well is failed. linux gzip corruption share|improve this question edited Jun 28 '11 at 12:38 Liudvikas Bukys 193210 asked Jun 28 '11 at 5:19 Arunjith 53117 Did you try checksumming the file at the source and at destination ? –Stephane Jun 28 '11 at 8:11 add a comment| 2 Answers 2 active oldest votes up vote 2 down vote It sounds like the file may not have been properly transferred in binary mode. You might be able to get it to work with unix2dos Backup-28--Jun--2011--Tuesday.tar.gz, but if not, you'll have to try transferring it again, making sure it uses binary mode. share|improve this answer answered Jun 28 '11 at 5:27 dtbarne 11212 Dtbarne, I tried unix2dos conversion but no luck :-) ,still the same error is returning... We are transferring files from 20 different servers to this share, Out of this three files having this problem! –Arunjith Jun 28 '11 at 6:01 add a comment| up vote 0 down vote Checksumming the source and destination files is a good idea. To get a more specific idea of what the corruption is, you could do a byte-by-byte com