From owner-freebsd-questions@freebsd.org Tue Jul 14 20:43:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC2129A1596 for ; Tue, 14 Jul 2015 20:43:06 +0000 (UTC) (envelope-from marcus@odin.blazingdot.com) Received: from odin.blazingdot.com (odin.blazingdot.com [204.109.60.170]) by mx1.freebsd.org (Postfix) with ESMTP id A4DD11B35 for ; Tue, 14 Jul 2015 20:43:06 +0000 (UTC) (envelope-from marcus@odin.blazingdot.com) Received: by odin.blazingdot.com (Postfix, from userid 1001) id 35E4F1320ED; Tue, 14 Jul 2015 13:43:05 -0700 (PDT) Date: Tue, 14 Jul 2015 13:43:05 -0700 From: Marcus Reid To: Nikos Vassiliadis Cc: "freebsd-questions@freebsd.org Questions" Subject: Re: tar: Damaged tar archive, Retrying... Message-ID: <20150714204305.GA89782@blazingdot.com> References: <55A3F7F2.3060400@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55A3F7F2.3060400@gmx.com> X-Coffee-Level: nearly-fatal User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 20:43:06 -0000 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