Solved

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

Posted on 2004-08-10
3
2,825 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

717 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