Solved

corrupt tar file

Posted on 2010-11-09
6
544 Views
Last Modified: 2012-05-10
I have software that's been running and making .tar downloads for about 4 years. nothing has changed on the server. i admin to it so i'm pretty sure. for some reason today one of the tar's won't unpack. i tried on OSX and CentOS using different versions of tar. i keep getting the following no mater what I try:

¿$ sudo tar -xf 101108103122.tar
Password:
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 737 bytes from 101108103122.tar
tar: Error exit delayed from previous errors

any ideas? can i skip the corrupt file and move on?
0
Comment
Question by:machrisod
[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
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34096971
Did you try the option

--ignore-failed-read

?

wmp
0
 

Author Comment

by:machrisod
ID: 34097140
yes, i tried that. it gives me the same result.

$ sudo tar --ignore-failed-read -xf 101108103122.tar
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 737 bytes from 101108103122.tar
tar: Error exit delayed from previous errors
0
 

Accepted Solution

by:
machrisod earned 0 total points
ID: 34097277
using the process of elimination i was able to determine that a specific file in the archive was causing the problem. so just removing that one got me a clean tar. no idea why that file is causing the error. looks like a tar bug. thanks!
-matt
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 8

Expert Comment

by:chcw
ID: 34097837
Is your TAR file password-protected? If yes, then it will be harder to recover it.

Have you tried

Advanced TAR Repair

at

http://www.datanumen.com/atr/ to scan and recover your corrupt TAR file?
0
 
LVL 19

Expert Comment

by:jools
ID: 34107759
what does `file 101108103122.tar` show?

you may need to use a different option, do you know what the command was that created the archive?
0
 

Author Closing Comment

by:machrisod
ID: 34153343
i didn't really solve it... just worked around it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.

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