LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices



Reply
 
Search this Thread
Old 08-26-2003, 01:30 PM   #1
ev64
LQ Newbie
 
Registered: Aug 2003
Location: far side
Distribution: rh9
Posts: 5

Rep: Reputation: 0
Lightbulb tar: Archive contains obsolescent base-64 headers


error:
tar: Archive contains obsolescent base-64 headers

I searched on the net and found lots of people running into this bug. Here is a simple solution that works for me:
gzip -d file.tar.gz
and then do
tar -xf file.tar
And it extracts without errors.

May this find its way into the google cache to help other hapless souls.
 
Old 08-26-2003, 03:39 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Moed to Success Stories. Fits better here.
 
Old 03-06-2004, 07:01 AM   #3
gummimann
Member
 
Registered: Nov 2003
Distribution: redhat
Posts: 57

Rep: Reputation: 15
Hi

Had the same problem. It looks like the browser (Opera7.23) decompressed the tar.gz file. What helped for me was to download it in another browser (Mozilla).
 
Old 01-04-2005, 03:59 PM   #4
roso
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
tar: Archive contains obsolescent base-64 headers

You might want to check if you have enough space left on device first!
 
Old 05-21-2006, 01:36 PM   #5
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Rep: Reputation: 15
Quote:
Originally Posted by ev64
error:
tar: Archive contains obsolescent base-64 headers

I searched on the net and found lots of people running into this bug. Here is a simple solution that works for me:
gzip -d file.tar.gz
and then do
tar -xf file.tar
And it extracts without errors.

May this find its way into the google cache to help other hapless souls.
Thanx,
got the same problem,
this morning I unpacked a .tar.gz file without problem
this evening unpacking resulted in the known error ...
 
Old 10-15-2006, 11:39 AM   #6
xinix
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
This problem maybe has something to do with the hardware.
It just happens on me.

For the same tgz file under the same OS (CentOS-3.8.i386),

I can success in unpacking it under the hardware environment of IDE disk and 32bit CPU. However, I got the error(see below) when I unpack it under the hardware environment of SCSI disk and EM64T CPU.

Unfortunately, until now, I haven't found the solution.

******Error*****
aa:~$ tar -xzvf nhc98-1.14-ix86-Linux.tar.gz
nhc98-1.14/
nhc98-1.14/Makefile.inc
nhc98-1.14/Makefile
nhc98-1.14/README
nhc98-1.14/INSTALL
nhc98-1.14/COPYRIGHT
nhc98-1.14/configure
nhc98-1.14/lib/
nhc98-1.14/lib/ix86-Linux/
nhc98-1.14/lib/ix86-Linux/config
nhc98-1.14/lib/ix86-Linux/hmake-PRAGMA
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors
 
Old 03-14-2007, 01:35 PM   #7
skolsur
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Hi all,

please check on which machine it has been tared and then on which machine you are trying to untar.

use isainfo -v command on Solaris and isoinfo -version for Linux
to check machine details.

for me it looks like you have created the tar-ball on 64 bit Spark machine and then trying to untar on a 32 bit GNU machine, if true then it is expected.

Solution: No proper solution

Workaround: if its as I said, then try to tar the file forcing machine to perform this task for 32 bit, since Solaris Sparc machine are capable of running 64/32 bit applications. and then try if the same tared file can be untared on GNU Linux.

-Suresh Kolsur

Last edited by skolsur; 06-18-2007 at 07:30 AM.
 
Old 12-10-2007, 04:37 AM   #8
ashishdugar
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
thanks a lot

gzip -d and then tar -fx worked great.... thanks a lot.

but may i ask the reason to use gzip before tar?

thanks in advance.
 
Old 12-16-2007, 03:02 AM   #9
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
For those new to the command line, you can also try in on one line with:
zcat file.tar.gz | tar -x

should be the same as:
gunzip -dc file.tar.gz | tar -x

I believe this should give the same behavior you would normally expect from:
tar -xzf file.tar.gz

Namely, uncompressing without changing the original or creating a new uncompressed file before unpacking. I don't have this problem, and so cannot test this.
 
Old 12-27-2007, 08:17 PM   #10
aqua_micky
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Exclamation use bin

if the case is about taring and untaring from Solaris to Linux or vice versa..it's better to transfer the tar in binary mode...i got the same error yesterday and tried the options listed here..finally this is what worked for me..
 
Old 12-01-2011, 05:12 AM   #11
mkzakaria
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Lightbulb You can try Ark

Hello. I got the same problem and it was solved using Ark. I was in a GUI mood so it was only one click. Your recipe also works. Thanks!
 
  


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
old tar? archive maenho Linux - Software 4 12-14-2006 08:05 PM
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


All times are GMT -5. The time now is 10:06 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration