View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-26-2006, 12:49 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
invalid compressed data error

Greetings to all of you. This is my first post, so please forgive my nervousness.

I have been sent a file: filename.dat.gz.

When I put gzip -d filename.dat.gz, I get the following error message:

invalid compressed data--format violated

I also tried this with gunzip. Am I doing something wrong and how do I fix it?

Thanks for all your help,
Old 04-26-2006, 03:47 PM   #2
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51

Googling for deccompressing dat.gz files doesn't reveal much, but your attempt appears correct. You might try zcat, which is the same as gunzip -c, but if that doesn't work, it could be that the file was compressed incorrectly.

Sorry couldn't be more help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gzlib: stdin: invalid compressed data -crc error pashford Linux - General 4 04-29-2008 07:21 AM
invalid data member initialization ...error..plz help gogettergary Programming 1 05-20-2005 07:16 AM
invalid compressed data crc--error aurelio26 Linux - Newbie 3 10-08-2004 02:53 PM
Invalid compressed format..... ceh383 Slackware 3 05-24-2003 11:08 PM
invalid compressed format (error=1) Goatdemon Linux - General 15 12-11-2002 12:33 AM

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration