Xarchiver giving error messages

Thread Tools Search this Thread
Operating Systems BSD Xarchiver giving error messages
# 1  
Old 09-26-2009
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:
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 05:09 PM.. Reason: Added code tags for legibility
# 2  
Old 09-26-2009
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  
Old 09-26-2009
That is quite possible, although I would not know how to check that or how to correct it. Please advise.
# 4  
Old 09-26-2009
To start with try running in a terminal window as the account that runs xarchiver:
$ type tar

That will show us where the tar command is being found.

Then try running:
$ tar --version

This will display what version of tar is installed and will mention GNU somewhere if it is GNU tar.

Then run:
$ echo $PATH

To see what your path is set to.

Then try running:
$ updatedb
$ locate tar | grep bin

To locate all the tar commands installed on your system.

And just for good measure and completeness:
$ whereis tar

Which may find various copies of tar around.

Post the results to this thread and we can take it from there.
# 5  
Old 09-26-2009
This what I found up to updatedb:
# type tar
type: Command not found.
# which tar
# tar --version
bsdtar 2.5.5 - libarchive 2.5.5
# echo $PATH
# updatedb
updatedb: Command not found.

With updatedb you probably mean the locate database?
# locate tar | grep bin

gave a fairly lengthy output, you probably had something specific in mind?

# whereis tar
tar: /usr/bin/tar /usr/share/man/man1/tar.1.gz /usr/src/usr.bin/tar

# 6  
Old 09-26-2009
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.
$ locate tar | grep bin

Was an attempt to list only tar commands, not manpages, source code, etc.
$ locate tar | grep bin | grep "tar$"

Will hopefully produce a shorter list, it will exclude all the commands with "start" in them!
# 7  
Old 09-27-2009
Thank you for your response. This is what was yielded:
# locate tar | grep bin > tar.txt
# grep tar$ tar.txt 

Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

multipath giving error

Hi, # lspath Missing hdisk0 fscsi0 Missing hdisk1 fscsi0 Missing hdisk2 fscsi0 Missing hdisk3 fscsi0 Missing hdisk4 fscsi0 Missing hdisk5 fscsi0 Missing hdisk6 fscsi0 Missing hdisk7 fscsi0 Missing hdisk8 fscsi0 Missing hdisk9 fscsi0 Missing hdisk10 fscsi0 Missing hdisk11... (2 Replies)
Discussion started by: JATA01
2 Replies

2. Shell Programming and Scripting

Double bracket giving error

here is a small script I wrote: #! /bin/bash if ] then echo "argument is null" fi It is giving error: test.sh: any idea, why is it so? (2 Replies)
Discussion started by: vina201unx2011
2 Replies

3. Shell Programming and Scripting

bc giving error: (standard_in) 2: parse error

Below part of script, is working fine sometimes and gives error sometime. I am doing float operations, checking if x > y. ##########CODE########## THRESHOLD="1.25" ratio=$( echo "scale=2; ${prev}/${current}" | bc ) if ; then split_date=`echo ${line} | cut -d, -f2` fi ... (9 Replies)
Discussion started by: manishma71
9 Replies

4. UNIX and Linux Applications

apt-get install giving error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. https://www.unix.com/images/misc/progress.gif... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

5. UNIX for Advanced & Expert Users

script giving error

Hi All, i have an small issue... echo " " eval x=$@ export x=`echo $x` echo $x ssh user@ipadrss; cd /mbbv/home/; cd /mbbv/home/orange/orange/ echo pwd bash samplescript.sh $x above is my script which will triger from server A and will connect to server B for some... (2 Replies)
Discussion started by: Shahul
2 Replies
Login or Register to Ask a Question