The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

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 03:01 PM
Tar utility (untar a .tar file) on VxWorks uday_01 UNIX for Advanced & Expert Users 1 05-26-2008 09:13 AM
untar to a specified file melanie_pfefer UNIX for Dummies Questions & Answers 3 11-27-2006 02:32 PM
Untar a TAR file at different location malaymaru UNIX for Dummies Questions & Answers 5 09-18-2006 08:59 PM
unTar a specific file from remote gelbvonn Shell Programming and Scripting 2 05-25-2006 03:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-05-2008
NIMISH AGARWAL NIMISH AGARWAL is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 26
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
  #2 (permalink)  
Old 05-05-2008
denn denn is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 96
*.gz means it's a compress file, uncompress file first!
  #3 (permalink)  
Old 05-07-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
try this:
Code:
tar -zxvf samba-3.0.28a.tar.gz
  #4 (permalink)  
Old 05-07-2008
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
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.
  #5 (permalink)  
Old 05-07-2008
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
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.
  #6 (permalink)  
Old 05-07-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
The -z option is found in GNU tar for example but not on a lot of other implmentations./
  #7 (permalink)  
Old 05-08-2008
sparcguy sparcguy is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Posts: 315
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 -
Sponsored Links
Closed Thread

Bookmarks

Tags
tar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0