tar updating

can someone please help me.

I have a mac running 10.4.11
I need to update TAR to the latest version on this machine.

it will not un-tar any tar archives created with a newer version of Tar ... i get an error stating that the archive contains obsolete 64-base headers.

the tar file is fine, it uncompresses when using 10.5.6. Unfortunately, the process needs to work on the 10.4 machine.

thanks,
-p

Message was edited by: Pendal

Mac MINI, Mac OS X (10.5.6)

Posted on Jun 18, 2009 5:49 AM

Reply
4 replies

Jun 19, 2009 12:33 AM in response to Pendal

Did you check out Gnu tar site? My Tiger is 1.14. as is yours probably. As far as I can tell from Fink's sites, 1.14-2 on 10.4 ppc in binary dist or source 1.16.1-1 for same ppc look to be max offerings. I don't have Fink. Just seeing what they offer with a simple description. Gnu goes from 1.14 to 1.22. But then on my Panther port search tar says 1.15.1 is max for that upgrade. ?? There doesn't seem to be any hard and fast answer as to which tar is max for Tiger 10.4.11. Good luck.

Jun 19, 2009 8:46 AM in response to Pendal

Allow me if you already knew the following (I have no idea whether you are an experienced user or not):

(1)
it will not un-tar any tar archives created with a newer version of Tar


This indicates that you created the archives on a different machine and transfered them to the Tiger Mac. Are you sure the archives were not broken during the transrer? For example, if you used FTP for transfer, are you sure you used binary transfer mode?
Where did you created the archives? On a Leopard Mac?

(2)
If you are extracting from gziped tar archive (xxxx.tar.gz), then please make sure to add 'z' option when extracting, i.e.,

tar zxvf xxxx.tar.gz

The tar commmand installed in Leopard is based on GNU tar 1.15.1, which is so clever that it can automatically recognize gzipped archive, so

tar xvf xxxx.tar.gz (without 'z')

also works on Leopard, but not on Tiger; you must explicitly add the 'z' option like 'tar zxvf ....' on Tiger.

(3)
If 'tar zxvf' doesn't work, please try unzipping manually, i.e.,

gunzip xxxx.tar.gz
tar xvf xxxx.tar
or
zcat xxxx.tar.gz | tar xvf -

(4)
Please note that the versions of tar command installed in Tiger/Leopard are not identical with those distributed from GNU tar site. Apple's tar is extended in a way that it can handle resource forks and extended attributes. If you want to extract resourece forks/extended attributes then you will need Apple's tar, whose source can be downloaded from
http://www.opensource.apple.com/
but I don't know whether building Leopard-version of tar on a Tiger Mac is easy or not. Or you may try Fink or MacPorts if they have newer tar for Tiger.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

tar updating

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.