tar.tar files???

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

tar.tar files???

Post by alex.barylski »

Occasionally I have needed to download a file onto my Windows machine and then upload that file to my Linux box. The extension is tar.tar apparently this is a result of Windows explorer renaming the bz2 file extension. :banghead:

Anyways, when I upload the file to my Linux server and I run tar on with

Code: Select all

tar -xjvf filename.tar.tar
I get an error. I have Googled and found this thread and tried each step several times and continually get an error.

http://www.linuxquestions.org/questions ... lp-101628/

I am trying to get the Roadsend Linux binaries onto my Debian box from a Windows computer but I getting this error:

Code: Select all

my-server:~# tar xvjf roadsend-php-2.9.5.tar.tar
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
 
my-server:~# mv roadsend-php-2.9.5.tar.tar roadsend-php-2.9.5.tar.bz2
 
my-server:~# tar xvf roadsend-php-2.9.5.tar.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 3060 bytes from roadsend-php-2.9.5.tar.bz2
tar: Error exit delayed from previous errors
What am I doing wrong?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: tar.tar files???

Post by Christopher »

It looks like you don't have bzip2.

Code: Select all

bunzip2 roadsend-php-2.9.5.tar.tar
tar xf roadsend-php-2.9.5.tar
(#10850)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: tar.tar files???

Post by alex.barylski »

I was so frustrated...I didn't even think of that.

Thanks :)
Post Reply