problem uncompressing tar.gz files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers problem uncompressing tar.gz files
# 1  
Old 02-04-2005
problem uncompressing tar.gz files

Whenever I try to uncompress file.tar.gz I always get message 'tar: directory checksum error'. I think because of this some of the directories might not be uncompressing properly. Why do I get this message? I do uncompress on UNIX Solaris 5.8. Oh, if I do the same thing on Fedora 3 everything works fine.

thanks,
webtekie
# 2  
Old 02-04-2005
try this

$ gunzip file.tar.gz
# 3  
Old 02-04-2005
that's what I am doing:
gunzip file.tar.gz

then I get file.tar, I do tar xvf file.tar file uncompresses and I get the message.
# 4  
Old 02-04-2005
hmm...just tried to uncompress mysql tar file and everything worked fine. But just before I tried uncompressing Cocoon and Lenya and it gave me that message. May be downloaded file was corrupt?
# 5  
Old 02-04-2005
Winzip will ALWAYS open a correctly formatted tar file. However, if there are errors in the file, only certian versions of winzip will work.

gunzip file.tar.gz
tar xf file.tar

also checkthis
tar xzf file.tar.gz
# 6  
Old 02-04-2005
You need to download GNU tar, which is different from the tar that is packaged with Solaris 8.
# 7  
Old 02-04-2005
got it. thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Uncompressing but not extracting tar.Z file

Hi I have a few hundred files with extension .tar.Z. These files were archived (tar) and compressed (Z) on a UNIX system. I need to unzip them but not extract them. In other words they need to go to .tar extension. I would like to do this on my MAC or on a windows pc. I do not have a UNIX... (3 Replies)
Discussion started by: kalbano
3 Replies

2. Shell Programming and Scripting

Uncompressing .zip file specific directory Fedora 14

Hello, I have Fedora 14 installed on my machine I have a .zip file ( some latex package) which I want to unzip to some location in the Latex paths /usr/share.../texmf/.. so I went to super user mode, created the directory for this package over there, mkdir logo and tried... (1 Reply)
Discussion started by: ajayram
1 Replies

3. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

4. Shell Programming and Scripting

tar doubts - problem with tar

The below tar command works fine for me, tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - ) but this version is giving error to me: cd ./srcdir && tar -cf - . | gzip -9 | cd ../destdir && gzip -d | tar -xf - error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
2 Replies

5. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

6. Shell Programming and Scripting

extract one file form .tar.gz without uncompressing .tar.gz file

hi all, kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file. thanks in advance bali (2 Replies)
Discussion started by: balireddy_77
2 Replies

7. UNIX for Advanced & Expert Users

Untaring *.tar.tar files

Hi all, How to untar a file with .tar.tar extension. A utility that i downloaded from net had this extension. Thanks in advance, bubeshj. (6 Replies)
Discussion started by: bubeshj
6 Replies

8. AIX

uncompressing file

Hi, how do u uncompress a .Z file? i have a file called software.all.Z and have to change it to software.all. how to do that? thanks! karthik (3 Replies)
Discussion started by: karthikosu
3 Replies

9. Solaris

uncompressing a .gz file

Hi Friends, i am trying to uncompress a file which is of the following type filename.tar.gz. when i am using gunzip filename.tar.gz to unzip it, i am getting the error as filename .tar.gz: invalid compressed data--format violated what is the mistake that i am doing ? any other way to... (2 Replies)
Discussion started by: sveera
2 Replies

10. Programming

Uncompressing a Linux file on HP-UX

Hi!! All, I have a compressed C file made on Linux. On Linux I used to uncompress it using the command: zcat filename -xvf- |tar I am not able to uncompress the same on Hp-UX-10.2. Could someone help me out how to do it ?? Do I have to use any other command to uncompress it?? (2 Replies)
Discussion started by: jyotipg
2 Replies
Login or Register to Ask a Question