From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 02:37:51 2007 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 295A416A41B for ; Thu, 8 Nov 2007 02:37:51 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id EC93E13C48D for ; Thu, 8 Nov 2007 02:37:50 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-qfe3.prod.shaw.ca [10.0.141.108]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JR5003PVZ6KDUF0@l-daemon> for freebsd-questions@freebsd.org; Wed, 07 Nov 2007 18:37:32 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca ([10.0.121.7]) by pd2mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JR500LV9Z6HGX60@pd2mr3so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 07 Nov 2007 18:37:30 -0700 (MST) Received: from hexahedron.daemonology.net ([24.82.201.197]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JR5001W6Z6GQ240@l-daemon> for freebsd-questions@freebsd.org; Wed, 07 Nov 2007 18:37:29 -0700 (MST) Received: (qmail 30404 invoked from network); Thu, 08 Nov 2007 01:36:50 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 08 Nov 2007 01:36:50 +0000 Date: Wed, 07 Nov 2007 17:36:49 -0800 From: Colin Percival In-reply-to: <3b47caa90711071729n597054c5h7e83e08a82a91c34@mail.gmail.com> To: Novembre Message-id: <47326831.9000205@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.0 References: <3b47caa90711071729n597054c5h7e83e08a82a91c34@mail.gmail.com> User-Agent: Thunderbird 2.0.0.6 (X11/20071102) Cc: FreeBSD Questions Subject: Re: portsnap question 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: Thu, 08 Nov 2007 02:37:51 -0000 Novembre wrote: > Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. > Fetching snapshot tag from portsnap3.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Fri Oct 5 16:39:29 CDT 2007 to Wed Nov 7 17:22:07 CST 2007. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 4 metadata files... done. > Fetching 2125 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390... > done. > Applying patches... done. > Fetching 1882 new ports or files... done. > > I'm wondering why it says 'fetching 2125 patches...' and then > downloading only 396 of them. Probably there was either a glitch on the mirror or you're behind a "transparent" HTTP proxy which misbehaved. Portsnap falls back to downloading complete files if it can't fetch or apply patches (which is why the 1882 new ports or files is such a large number), so all this means is that a bit more bandwidth was used than necessary. > I have not run 'portsnap update' yet since I was afraid it might ruin > my ports tree. Is there anyway to force portsnap fetch a new snapshot > without telling me 'no updates needed'? Don't worry, you can run `portsnap update` safely. Not relevant in this case, but for the benefit of the archives: In the rare case where portsnap's locally stored snapshot becomes corrupt (most often as a result of filesystem not being unmounted cleanly), deleting everything inside /var/db/portsnap will result in portsnap downloading a complete new snapshot the next time `portsnap fetch` is run. Colin Percival