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 > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
apt-get install giving error pradeepreddy UNIX and Linux Applications 1 12-12-2008 03:40 AM
acroread command giving error iamjayanth Linux 3 10-31-2008 09:27 AM
Cron job giving error while running SSH command visingha Shell Programming and Scripting 3 09-13-2008 08:07 PM
script giving error Shahul UNIX for Advanced & Expert Users 2 08-29-2008 12:36 PM
/dev/rStp0 giving error workingstiff UNIX for Dummies Questions & Answers 1 10-29-2002 06:25 AM

Reply
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 09-26-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
Xarchiver giving error messages

I have FreeBSD installed with Xarchiver and when extracting files through the file manager ("Extract here..." option) the following error pops up:
Code:
tar: unrecognized option `--overwrite'
Perhaps this is a known error and is there a way to solve it?

Last edited by figaro; 09-26-2009 at 03:09 PM.. Reason: Added code tags for legibility
  #2 (permalink)  
Old 09-26-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
Looks like the PATH set for your application is picking up the operating system tar command rather than the GNU version of tar, the latter may have been installed with your application, perhaps?
  #3 (permalink)  
Old 09-26-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
That is quite possible, although I would not know how to check that or how to correct it. Please advise.
  #4 (permalink)  
Old 09-26-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
To start with try running in a terminal window as the account that runs xarchiver:
Code:
$ type tar
That will show us where the tar command is being found.

Then try running:
Code:
$ tar --version
This will display what version of tar is installed and will mention GNU somewhere if it is GNU tar.

Then run:
Code:
$ echo $PATH
To see what your path is set to.

Then try running:
Code:
$ updatedb
$ locate tar | grep bin
To locate all the tar commands installed on your system.

And just for good measure and completeness:
Code:
$ whereis tar
Which may find various copies of tar around.

Post the results to this thread and we can take it from there.
  #5 (permalink)  
Old 09-26-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
This what I found up to updatedb:
Code:
# type tar
type: Command not found.
# which tar
/usr/bin/tar
# tar --version
bsdtar 2.5.5 - libarchive 2.5.5
# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
# updatedb
updatedb: Command not found.
With updatedb you probably mean the locate database?
Also
Code:
# locate tar | grep bin
gave a fairly lengthy output, you probably had something specific in mind?

Finally:
Code:
# whereis tar
tar: /usr/bin/tar /usr/share/man/man1/tar.1.gz /usr/src/usr.bin/tar
  #6 (permalink)  
Old 09-26-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
So it looks like by default you are using /usr/bin/tar and that is the tar command for BSD, the locate command should tell us where alternative tar commands are installed, whereis shows that no other tar commands are in the PATH.
Code:
$ locate tar | grep bin
Was an attempt to list only tar commands, not manpages, source code, etc.
Code:
$ locate tar | grep bin | grep "tar$"
Will hopefully produce a shorter list, it will exclude all the commands with "start" in them!
  #7 (permalink)  
Old 09-27-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
Thank you for your response. This is what was yielded:
Code:
# locate tar | grep bin > tar.txt
# grep tar$ tar.txt 
/usr/bin/bsdtar
/usr/bin/tar
/usr/src/usr.bin/tar
Reply

Bookmarks

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:38 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