gunzip: [file] has more than one entry -- unchanged
Let me start by saying this:
New kernel - 2.6.24
AMD 64 bit system.
No other changes made. Can't remember using gzip yet... but likely have.
I'm trying to uncompress a tar.gz file. It happens to be truecrypt 5.0 that just was released.
For the life of me I can't get it to gunzip.
tar xzf [file.tar.gz] gives this error:
I tried updating gzip but it is already the newest. Tar also... but I didn't think that would help anyway.
Thanks in advance.
Weird! And then some!
I just downloaded the truecrypt tarball and ran gunzip <filename>.tar.gz and it unziped just fine.
Then I did tar -xvf <filename>.tar and it untared.
A typo, perhaps?
I have no idea.
Tried gzip with kernel 2.6.18-5 hoping I did something weird when I compiled the kernel (I have no idea what could be causing this) with no luck.
I eventually got it to unzip with unzip...
I'm sure I'll be back here the next time I run into this problem.
Just downloaded another tar.gz tarball and had no problem using gunzip. Worked like a charm.
unzip, however, did not work.
Something to do with zip version?
I'll just remember to try one and if it doesn't work try the other.
The extension is probably incorrect, it is probably a ZIP file, not a gz file. ZIP files can be unpacked using unzip, gz files can be unpacked using gunzip.
Try the file command on the original file and see what it says. Example output:
Multiple files in your zip file?
One can also get this error if you have a zip file that contains more than one file.
On Windows use 7-Zip or whatever to 1) unzip the file,
2) tar the contents of the zip file so that it's one file,
3) zip the file,
4) upload it to the unix/linux box and
5) unzip it using a command like: "tar -C /mydir -zxvf yourfile" to extract to /mydir
|All times are GMT -5. The time now is 05:22 AM.|