Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-13-2005, 10:19 AM   #1
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
old tar? archive


I have an archive file which seems to be created in 1999 and has a .tar extension. If I try to untar it I get:

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 9320 bytes from asrsrc.tar
tar: Error exit delayed from previous errors

Using the option -o (old-archive) does not help. I can look into the file with a text editor and it has a structure like:

aidata.f010075500001520000145000002327500662367676000130040ustar00gilmouabio00000400000126 SUBROUTINE AIDATA(X,KDTA,LDTA,LENX)
C *****************************************************************
C * Author: Arthur Gilmour *
C * Copyright: NSW Agriculture, Orange, 2800, Australia *
C * ***************************************************************

Even the untrained eye can clearly see the fortran code in here. Does anybody know how i can get the files in their original format from this archive?
Old 01-13-2005, 04:19 PM   #2
Registered: Jul 2003
Location: San Diego, CA USA
Distribution: RH 7x,8x,9x, RHE 3, Fedora Core1
Posts: 38

Rep: Reputation: 15
Just a shot in the dark but maybe try renaming it to .tgz and use "tar -zxf".

I'll try anything once.
Old 01-14-2005, 02:54 AM   #3
Registered: Nov 2003
Location: Belgium
Posts: 81

Original Poster
Rep: Reputation: 15
it was a tar.gz file first but I already gunzipped it to simplify the problem description. Tthank you for your response nevertheless.

Anybody else?
Old 12-14-2006, 12:19 PM   #4
LQ Newbie
Registered: Aug 2005
Location: boaton
Posts: 1

Rep: Reputation: 0
This is problem mentioned in quite a few posts.
This is what I tried ( original file was tared and gzipped on cygwin).

It looks like they compressed it twice.
Do this ( assuming original file is file.tar.gz)
gunzip file.tar.gz
mv file.tar file.gz
gunzip file.gz ( this will give you file ; no extension gz or tar)
tar -xvf file
-- Santosh L
Old 12-14-2006, 08:05 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,569

Rep: Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426Reputation: 2426
If you get stuck you could always contact NSW Agriculture as shown and ask if they've got either a more up to date code version (which would be better anyway) or a readable version of the file you've got.


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
zipped tar archive on Fat32 partition mikieboy Linux - General 3 03-10-2005 11:41 AM
Creating a spanning archive with tar Phyrexicaid Linux - Software 4 01-27-2005 09:04 PM
Tar gives error when creating a tar file archive davidas Linux - Newbie 10 04-13-2004 01:35 AM
this doesn't look like a tar archive .phister Slackware 5 02-01-2004 02:19 AM
Tar archive issues yorkb Linux - Software 1 10-12-2003 06:14 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:42 PM.

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