Cannot uncompress the tar.gz


 
Thread Tools Search this Thread
Operating Systems Solaris Cannot uncompress the tar.gz
# 1  
Old 02-08-2010
Cannot uncompress the tar.gz

I've downloaded the tomcat from http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/
at window 2000 and then ftp to Solaris 5.9 in binary mode.

Code:
gunzip -c jakarta-tomcat-5.0.30.tar.gz | tar -xvf -
tar: directory checksum error

if try this one,
Code:
gzip -d jakarta-tomcat-5.0.30.tar.gz
gzip: jakarta-tomcat-5.0.30.tar.gz: unexpected end of file


How to resolve this error?
Thanks for your kind advice.

Last edited by pludi; 02-08-2010 at 03:23 AM.. Reason: removed link, added code tags
# 2  
Old 02-08-2010
Looks like an incomplete download to me. Download the MD5 checksum, and check it against the file you have.
# 3  
Old 02-08-2010
double post, continue here:
gunzip problem! unexpected end of file
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Uncompress several tar.gz files inside several folders

Hi, I need to uncompress sevral tar.gz files that are located insides sevral folders using a shell script. Folder tree looks like this : /folder/001 /folder/002 /folder/003 Inside each folder dossier (001,002,003) we can find 1 or several tar.gz files. I've scripted something... (9 Replies)
Discussion started by: shellX
9 Replies

2. 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

3. Shell Programming and Scripting

uncompress tar.gz files

i Have 150 tar.gz files and i need to uncompress and extract all the files from those 150 tar.gz and i will have 150 files on daily basis. could any one help me out with the script to uncompress tar.gz files. (5 Replies)
Discussion started by: gaddamshashank
5 Replies

4. Shell Programming and Scripting

Help with uncompress...Urgent

Hi, I am restoring the database backup using compress utility(/usr/bin/compress) which takes around 1 hour.For restoration i use uncompress utility(/usr/bin/uncompress) which is taking nearly 6-7 hours.Can someone let me know how to reduce this time.I have pasted below the line from script... (2 Replies)
Discussion started by: santtarius
2 Replies

5. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

6. UNIX Desktop Questions & Answers

file zip,rar,tar,compress,uncompress,unzip,unrar

i want know how to compress and uncompress file using unix, compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies

7. UNIX for Advanced & Expert Users

uncompress

Hi All, is it possible to uncompress on another directory ? At the moment I have my file to uncompress on /u07 that has 5GB free. When uncompressed it would be more then 6G , I want to send uncompressed file on another directory where I have more free space. is it possible ? How ? Many thanks... (3 Replies)
Discussion started by: big123456
3 Replies

8. UNIX for Dummies Questions & Answers

How to get to a file and uncompress it

I did an ftp to copy a tar file from a main server area to the backup server area. I need to get that tar file to uncompress it in backup server. How do I go about it. Please any suggesstion will be greatly appreciated (1 Reply)
Discussion started by: nkem22
1 Replies

9. Shell Programming and Scripting

rsh and uncompress and tar

Hello, how can I send a compressed file (file.tar.Z) on another server ans uncompresse and extract it there ? My code which is like this uncompress *tar.Z | rsh serveurB -l user1 "cd /d15/store/; tar xf -" does not function. Many thanks before. (4 Replies)
Discussion started by: big123456
4 Replies

10. UNIX for Dummies Questions & Answers

Uncompress... me!!!!!! :)

Dear friends, i'm trying to uncompress an "...... tar.z" file. I'd readen that using the "uncompress" command it could be made but............... God! I can't!!!!! I tried a lot of times using the Terminal but the uncompress command doesn't obeys!!! :):) . Please i need to know how to... (3 Replies)
Discussion started by: gussiglo21
3 Replies
Login or Register to Ask a Question