The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM


UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do I untar file through an ssh session? Joe McCaughan UNIX for Advanced & Expert Users 3 05-28-2008 12:01 PM
Tar utility (untar a .tar file) on VxWorks uday_01 UNIX for Advanced & Expert Users 1 05-26-2008 06:13 AM
untar to a specified file melanie_pfefer UNIX for Dummies Questions & Answers 3 11-27-2006 10:32 AM
Untar a TAR file at different location malaymaru UNIX for Dummies Questions & Answers 5 09-18-2006 05:59 PM
unTar a specific file from remote gelbvonn Shell Programming and Scripting 2 05-25-2006 12:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2008
Registered User
 

Join Date: Sep 2007
Posts: 17
Stumble this Post!
unable to UNTAR a file

Hi frens,

I have to install samba on UNIX box
for that i have downloaded the samba file from netand now trying to untar that file and getting following error:

# tar -xvf samba-3.0.28a.tar.gz
UX:tar: ERROR: Directory checksum error

even i checked many times by again downloading the file to confirm the fresh file.

Please help me out to overcome this situation.

Nimish
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-05-2008
Registered User
 

Join Date: Jul 2007
Posts: 93
Stumble this Post!
*.gz means it's a compress file, uncompress file first!
Reply With Quote
  #3 (permalink)  
Old 05-06-2008
Yogesh Sawant's Avatar
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 767
Stumble this Post!
try this:
Code:
tar -zxvf samba-3.0.28a.tar.gz
Reply With Quote
  #4 (permalink)  
Old 05-07-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Stumble this Post!
Quote:
Originally Posted by denn View Post
*.gz means it's a compress file, uncompress file first!
Not necessarily
File extensions do not work as in Windows.
I would suggest you to check what kind of file is this way:
Code:
file samba-3.0.28a.tar.gz
Regards.
Reply With Quote
  #5 (permalink)  
Old 05-07-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Stumble this Post!
Quote:
Originally Posted by Yogesh Sawant View Post
try this:
Code:
tar -zxvf samba-3.0.28a.tar.gz
This depends on the tar version you are using.

Another option would be:
Code:
gunzip -c samba-3.0.28a.tar.gz | tar xvf -
Regards.
Reply With Quote
  #6 (permalink)  
Old 05-07-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,812
Stumble this Post!
The -z option is found in GNU tar for example but not on a lot of other implmentations./
Reply With Quote
  #7 (permalink)  
Old 05-08-2008
Registered User
 

Join Date: Nov 2006
Posts: 252
Stumble this Post!
Quote:
Originally Posted by NIMISH AGARWAL View Post
Hi frens,

I have to install samba on UNIX box
for that i have downloaded the samba file from netand now trying to untar that file and getting following error:

# tar -xvf samba-3.0.28a.tar.gz
UX:tar: ERROR: Directory checksum error

even i checked many times by again downloading the file to confirm the fresh file.

Please help me out to overcome this situation.

Nimish
gzcat samba-3.0.28a.tar.gz | tar xvfp -
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
tar

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0