LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   .tar.tar files? (https://www.linuxquestions.org/questions/linux-software-2/tar-tar-files-96128/)

Kage 09-23-2003 09:24 PM

.tar.tar files?
 
What command do you use to untar a .tar.tar file? tar -xvf or -xzvf gives me a error.

speter 09-23-2003 10:12 PM

And just what error does it give you?

Steve

lyle_s 09-23-2003 10:12 PM

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

Kage 09-23-2003 11:54 PM

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

speter 09-24-2003 12:01 AM

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

yapp 09-24-2003 03:58 AM

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.

Hammett 09-24-2003 06:14 AM

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

Hope it helps

guygriffiths 09-24-2003 07:26 AM

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

kev82 09-24-2003 08:22 AM

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.

Kage 09-24-2003 10:41 PM

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?

yapp 09-25-2003 02:31 AM

Sorry for my wording... :o I feel like we're running in circles here. :rolleyes:

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 :p 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.


All times are GMT -5. The time now is 12:40 AM.