Solved

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

744 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

12 Experts available now in Live!

Get 1:1 Help Now