LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to Extract (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-extract-636085/)

beantier 04-17-2008 04:25 PM

Unable to Extract
 
I am unable to extract ts2perlmod.tar.bz2, It says there is no file or directory. Any ideas why this isn't working?
Running Debian 4.0

rgteamspeak:/home/ts# ls
ts2perlmod.tar.bz2
rgteamspeak:/home/ts# tar -jxvf ts2perlmod.tar.bz2
tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
rgteamspeak:/home/ts#

pljvaldez 04-17-2008 04:37 PM

Did you try unzipping (bunzip2 ts2perlmod.tar.bz2) it first and then untarring it?

bigrigdriver 04-17-2008 04:49 PM

The -j option is supposed to bzip2 or bunzip2, but your installation of tar is obvioulsy interpreting -j as bzip2 only
Quote:

rgteamspeak:/home/ts# tar -jxvf ts2perlmod.tar.bz2
tar: bzip2: Cannot exec: No such file or directory
So, as pljvaldez suggests, try it the old way and bunzip2 it.

On second thought, do you have bzip2 installed?

beantier 04-17-2008 08:51 PM

rgteamspeak:/home/ts# ls
ts2perlmod.tar.bz2
rgteamspeak:/home/ts# bunzip2 ts2perlmod.tar.bz2
-bash: bunzip2: command not found
rgteamspeak:/home/ts#

jschiwal 04-17-2008 09:19 PM

Looks like you need the bzip2 package installed.


All times are GMT -5. The time now is 04:58 AM.