Solved

Archive contains obsolescent base-64 headers AND This does not look like a tar archive...

Posted on 2004-08-10
3
2,820 Views
Last Modified: 2011-09-20
Hello.  

I tried to extract a set of binaries:

       wget http://www.vips.ecs.soton.ac.uk/vips-7.6/vips-7.6.5-x86-linux-glibc2.1.tar.gz
       tar -xvf vips-7.6.5-x86-linux-glibc2.1.tar.gz

The wget part worked but the extraction gave me the following errors:

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

Am I doing something wrong or is there a problem with the file I downloaded with wget?

Is there anything I can do?  I really want the binaries!

Thanks
0
Comment
Question by:hankknight
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 400 total points
ID: 11769571
Try 'tar xvzof vips-7.6.5-x86-linux-glibc2.1.tar.gz' or 'zcat vips-7.6.5-x86-linux-glibc2.1.tar.gz | tar xvof -'. You've downloaded a gzipped tar archive and it must be uncompressed before or during the tar extract.

Also note that one almost always wants to include the "o" option when unpacking a tar archive. That causes the ownership of the files extract to be that of the user invoking tar rather than the ownership recorded in the archive.
0
 
LVL 11

Expert Comment

by:avizit
ID: 11769879
instead of tar -xvf vips-7.6.5-x86-linux-glibc2.1.tar.gz

try tar -xvzf  vips-7.6.5-x86-linux-glibc2.1.tar.gz

the 'z' option should be there to unzip

or if you want to you can do it as a two step process

gunzip vips-7.6.5-x86-linux-glibc2.1.tar.gz
tar -xvf vips-7.6.5-x86-linux-glibc2.1.tar

/abhijit/
0
 
LVL 16

Author Comment

by:hankknight
ID: 11771482
Useful to know about the -o option.  I have run into trouble before with ownership issues after moving tarred files between servers.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question