From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 12:04:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFDD610656A8 for ; Tue, 15 Feb 2011 12:04:25 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay011.isp.belgacom.be (mailrelay011.isp.belgacom.be [195.238.6.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9998FC20 for ; Tue, 15 Feb 2011 12:04:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAFL5WU3DDR9Z/2dsb2JhbACmULwahV4EjAI Received: from 89.31-13-195.static.isp.belgacom.be (HELO localhost) ([195.13.31.89]) by relay.skynet.be with ESMTP; 15 Feb 2011 13:04:21 +0100 Date: Tue, 15 Feb 2011 13:04:16 +0100 From: "Alain G. Fabry" To: FreeBSD Message-ID: <20110215120331.GA23175@desmo.3rdrock.kicks-ass.net> References: <20110215070055.GA5658@desmo.3rdrock.kicks-ass.net> <20110215064914.5e579dba@scorpio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110215064914.5e579dba@scorpio> User-Agent: Mutt/1.4.2.3i Subject: Re: portsnap fetch corrupt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 12:04:26 -0000 On Tue, Feb 15, 2011 at 06:49:14AM -0500, Jerry wrote: > On Tue, 15 Feb 2011 08:00:55 +0100 > Alain G. Fabry articulated: > > > Hello, > > > > Whenever I try to do a portsnap, it tels me metadata is corrupt. > > > > harley# portsnap fetch update > > Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. > > Fetching snapshot tag from portsnap5.FreeBSD.org... done. > > Fetching snapshot metadata... done. > > Updating from Fri Feb 11 01:08:40 CET 2011 to Tue Feb 15 07:25:54 CET > > 2011. Fetching 3 metadata patches. done. > > Applying metadata patches... done. > > Fetching 3 metadata files... /usr/sbin/portsnap: cannot open > > d0fcac86ce12456d1bf6a63b3628725c24ea32d3e98d7d71280a7a9999681e17.gz: > > No such file or directory metadata is corrupt. > > > > > > I've already removed /var/db/portsnap directory, and redo the > > portsnap fetch, but the problem remains since several days now. > > > > What can I do to get this going again? > > > > Running FreeBSD 8.1-RELEASE #0 > > That annoying problem pops up once or twice a month on my machines > also. It appears to be, although I have never taken the time to confirm > it, dependent on what URL portsnap is attempting to download from. The > problem usually goes away in 24 to 72 hours. As far as I can tell, it > does not require any user intervention; although I suppose you could > try playing around with it. Honestly, the vicissitude of "portsnap" is > something that I have become accustomed to. > > I just ran portsnap and got this output: > > Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. > Fetching snapshot tag from portsnap5.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Mon Feb 14 06:59:32 EST 2011 to Tue Feb 15 06:30:44 EST 2011. > Fetching 3 metadata patches.. done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 66 patches.....10....20....30....40....50....60... done. > Applying patches... done. > Fetching 4 new ports or files... done. > Removing old files and directories... done. > > Possible the problem has all ready dissipated. > > -- I just tried and the problem remains, I've seen this for +2 weeks now, that's why I believe it might be another issue. harley# rm -R /var/db/portsnap harley# mkdir /var/db/portsnap harley# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching public key from portsnap5.FreeBSD.org... done. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Fetching snapshot metadata... done. Fetching snapshot generated at Tue Feb 15 01:11:54 CET 2011: 6894de6c5ce6ec6f3d8edb291e78cfb62c96f77a944887100% of 64 MB 871 kBps 00m00s Extracting snapshot... done. Verifying snapshot integrity... done. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue Feb 15 01:11:54 CET 2011 to Tue Feb 15 12:42:07 CET 2011. Fetching 3 metadata patches. done. Applying metadata patches... done. Fetching 3 metadata files... /usr/sbin/portsnap: cannot open 9625c296a4dfb1bc8e285b117c77ea6a9ce389dba368b91fa39918d2fe208d5b.gz: No such file or directory metadata is corrupt. Thanks, > Jerry ??? > FreeBSD.user@seibercom.net > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > Gravity is a myth, the Earth sucks.