Home > Linux > tar: Archive contains obsolescent base-64 headers

tar: Archive contains obsolescent base-64 headers

I was trying to install Ghostscript on my MediaTemple (mt) Linux server but I kept getting the following error:

  1. tar: This does not look like a tar archive
  2. tar: Skipping to next header
  3. tar: Archive contains obsolescent base-64 headers
  4. tar: Error exit delayed from previous errors

The quick fix around this is to type the following:

  1. gzip -d filename.tar.gz

and then

  1. tar -xf filename.tar

This should extract the file without errors.

Peace

Categories: Linux Tags:
  1. irina
    September 21st, 2009 at 21:29 | #1

    and what i should do if the same error appears when i
    $ tar xf *.tar

  2. rajeev
    April 14th, 2010 at 23:39 | #2

    I want to extract mysql-5.0.21.tar.gz on linux server for installtion
    but, I unable to extract. I tried to apply tar, gzip, gunzip, gtar
    but not able to fix the problem
    here is the error when I tried with gtar and same error occurs with tar also
    root@vps home
    [mysql-5.0.21/]# gtar zxvf mysql-5.0.21.tar.gz
    mysql-5.0.21/bdb/
    mysql-5.0.21/bdb/Makefile.in
    mysql-5.0.21/bdb/btree/
    mysql-5.0.21/bdb/btree/bt_reclaim.c
    mysql-5.0.21/bdb/btree/bt_stat.c
    mysql-5.0.21/bdb/btree/bt_delete.c
    mysql-5.0.21/bdb/btree/bt_rec.c
    mysql-5.0.21/bdb/btree/bt_compare.c
    mysql-5.0.21/bdb/btree/bt_cursor.c
    mysql-5.0.21/bdb/btree/bt_search.c
    gtar: Skipping to next header
    ysql-5.0.21/bdb/bttre/bt_sspli.c
    gtar: Skipping to next header
    gtar: Archive contains obsolescent base-64 headers

    gzip: stdin: invalid compressed data–crc error

    gzip: stdin: invalid compressed data–length error
    gtar: Child returned status 1
    gtar: Error exit delayed from previous errors

  3. rajeev
    April 15th, 2010 at 03:09 | #3

    problem solved:

    find sites from where you can directly download files using
    wget url

    It will 100% work

  4. adlepoo
    August 10th, 2010 at 13:47 | #4

    I get the same gtar error sometimes. It turns out sftp transfers to a Windows box was corrupting the archive.

    If tar gives errors also, I would investigate the possibility of corruption. digest -a md5 comparisons are helpful.

  5. Ray
    August 10th, 2010 at 13:55 | #5

    You’re a god among men, thanks!

  6. Reith
    August 16th, 2010 at 08:43 | #6

    I have same problem in bz2 tar archive.
    my archive corrupted, so i used bzip2recover and join rec000* files. with bzip2 -dc make a .tar file but when i try to extract tar archive get this error:
    tar: Skipping to next header
    tar: Error exit delayed from previous errors
    any suggestions are welcome!

  7. vishal
    October 4th, 2011 at 08:15 | #7

    Hi FlashNutz,
    Can you please help us in resolving below issue.

    $ gunzip staging_encyc.tar.gz
    gunzip: staging_encyc.tar.gz: unexpected end of file

  8. vishal
    October 4th, 2011 at 08:18 | #8

    Also I tried below command,I am getting below exception.Need your help in this regard.
    Thanks!

    $ tar -xvzf staging_encyc.tar.gz

    .
    .
    .
    ./encyc/file/34/8/340873.dat
    ./encyc/file/34/8/340876.dat
    tar: Skipping to next header
    tar: Archive contains obsolescent base-64 headers

    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

  9. vishal
    October 4th, 2011 at 08:36 | #9

    Even I tried the command you suggested but still getting below error

    $ gzip -d staging_encyc.tar.gz

    gzip: staging_encyc.tar.gz: unexpected end of file

  1. No trackbacks yet.
SEO Powered by Platinum SEO from Techblissonline