gunzip error
I continue to get this error while trying to unzip a file:
gunzip: blacklists.tar.gz: not in gzip format Could anyone tell me what other method I should use to unzip this file. Thank you |
Try:
tar xvf blacklists.tar.gz |
Quote:
Code:
tar xvzf blacklists.tar.gz To just decompress it, do: Code:
gunzip blacklists.tar.gz And just in case you're curious, to recompress the tarball: Code:
gzip blacklists.tar
If you use gunzip to try and decompress the .tar.gz file and it complains that it is not in gzip format, then maybe the file is not a gz file even though it has that extension. Try Code:
file blacklists.tar.gz |
|
Ok so I was wrong about omitting the 'z' flag...
Maybe the file is corrupted? |
He might not have been typing the proper gunzip syntax. He only showed the output, not the input. So it is really hard to tell where he was going wrong, but yeah, every chance there was something wrong with the zipped file.
|
Woudln't be the first time i've seen a file called file.tar.gz (or file.tgz) and it turned out not to be gzipped....
|
gunzip error
I tried the tar -xvf. That did not work. I got the error
blacklists/ blacklists/CATEGORIES blacklists/ads/ blacklists/ads/domains gzip: stdin: unexpected end of file blacklists/ads/urls tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now tar: blacklists.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now ERROR: unable to extract new lists, aborting blacklist refresh. I will now try the tar -zxvf and see if that works. This is what the command is as it sits now: # Untaring Blacklist archive. tar -zxvf blacklists.tar.gz # gunzip blacklists.tar.gz tar -xf blacklists.tar The commented out gunzip was the original command. Thank you all for your help. |
Weird, did it extract everything in "blacklists/ads/urls"?
Oh well, you got what you needed, thats what counts :) |
gunzip error
Using the tar -zxvf worked. It is now unzipping the file.
Thank you all for your help. |
All times are GMT -5. The time now is 11:00 AM. |