Solved

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

Posted on 2004-08-10
3
2,806 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now