Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 13:04:16 +0100
From:      "Alain G. Fabry" <alainfabry@belgacom.net>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: portsnap fetch corrupt
Message-ID:  <20110215120331.GA23175@desmo.3rdrock.kicks-ass.net>
In-Reply-To: <20110215064914.5e579dba@scorpio>
References:  <20110215070055.GA5658@desmo.3rdrock.kicks-ass.net> <20110215064914.5e579dba@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 15, 2011 at 06:49:14AM -0500, Jerry wrote:
> On Tue, 15 Feb 2011 08:00:55 +0100
> Alain G. Fabry <alainfabry@belgacom.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110215120331.GA23175>