LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2003, 09:24 PM   #1
Kage
Member
 
Registered: Jan 2002
Distribution: Redhat 9.0
Posts: 54

Rep: Reputation: 15
.tar.tar files?


What command do you use to untar a .tar.tar file? tar -xvf or -xzvf gives me a error.
 
Old 09-23-2003, 10:12 PM   #2
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
And just what error does it give you?

Steve
 
Old 09-23-2003, 10:12 PM   #3
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
tar xf tarfileoftarfiles.tar.tar should untar successfully. What exactly was the error message it gave? What does the file command say the file you're trying to untar say it is?

Lyle
 
Old 09-23-2003, 11:54 PM   #4
Kage
Member
 
Registered: Jan 2002
Distribution: Redhat 9.0
Posts: 54

Original Poster
Rep: Reputation: 15
tar -xvf tells me:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

tar -xzvf gives me:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

I just tried the tar xf and no luck:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
 
Old 09-24-2003, 12:01 AM   #5
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Perhaps it isn't really a tar file. It doesn't seem to be a GZip file either. Where did you get it? See if you can get another copy, perhaps in another format.

Steve
 
Old 09-24-2003, 03:58 AM   #6
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Type " file *", or "file <filename>" to see the actual type of a file. Linux doesn't care about file extensions. It examines the content instead. Sometimes your file manager, such as konqueror can tell you a lot too.
 
Old 09-24-2003, 06:14 AM   #7
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
Try to unpack it like if it was a .tar.gz. In most cases, it work

Hope it helps
 
Old 09-24-2003, 07:26 AM   #8
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
If you originally got the file under Windows, it will replace *.tar.* with *.tar.tar. Probably it is bzipped. Try:
bunzip2 file.tar.tar
tar xvf file.tar.tar [it might only be file.tar, have a look and see]
Hope that works
Guy
 
Old 09-24-2003, 08:22 AM   #9
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
do as yapp suggests, using the file command you can find out what it actually is, once you know that you can start to uncompress it.
 
Old 09-24-2003, 10:41 PM   #10
Kage
Member
 
Registered: Jan 2002
Distribution: Redhat 9.0
Posts: 54

Original Poster
Rep: Reputation: 15
the bunzip2 command didnt work either. the file i tried to untar is the ut2003 2225 patch. I went ahead and just renamed the file to just tar and that seemed to work. I downloaded the file roperly so why didi it come out as tar.tar?
 
Old 09-25-2003, 02:31 AM   #11
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Sorry for my wording... I feel like we're running in circles here.

what does the file command tell you?

(then select the text with your mouse, and paste it here with the middle mouse button)



edit:
..the file could be a simple 'zip' file, or just an executable binary (or shell script; I've seen this a lot for LokiGames) .. don't let the extension confuse you.. even though I can't think of any imaginable reason why the file is .tar.tar tar is just a tool to combine all files without compression (like zip, but without compression), ready to store it on a Tape-ARchive. That's why tar and gzip are usually combined.

Last edited by yapp; 09-25-2003 at 02:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM


All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration