tar: Damaged tar archive, Retrying...

Marcus Reid marcus at blazingdot.com
Tue Jul 14 20:43:06 UTC 2015


On Mon, Jul 13, 2015 at 08:40:02PM +0300, Nikos Vassiliadis wrote:
> Hi,
> 
> I am currently using tar to copy some very files to another host and
> got this:
> > tar: Damaged tar archive
> > tar: Retrying...
> > tar: Damaged tar archive
> > tar: Retrying...
> > tar: Damaged tar archive
> > tar: Retrying...
> > tar: Damaged tar archive
> > tar: Retrying...
> > tar: Damaged tar archive
> 
> The copy is done using tar|nc and nc|tar on the receiving host.
> This looks like a bug and I wonder whether the copy is OK.

I have submitted a bug report for a problem that causes this output.
It's likely the same bug that you're encountering.

The fix is upstream in libarchive, but in the meantime you can use gtar
:(

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201506

Marcus


More information about the freebsd-questions mailing list