LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-13-2005, 09:19 AM   #1
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
old tar? archive


Hi,

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, 03:19 PM   #2
homestead1000
Member
 
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, 01:54 AM   #3
maenho
Member
 
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, 11:19 AM   #4
bkhote
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, 07:05 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,398

Rep: Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration