From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 02:39:38 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 B46A816A419 for ; Thu, 8 Nov 2007 02:39:38 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 53E3713C4B3 for ; Thu, 8 Nov 2007 02:39:38 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so41336pyb for ; Wed, 07 Nov 2007 18:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=uIMnRQ3h115uMAmMM0Ghc88edfqmhMvWmBasmm2/AGw=; b=mCp5b6RvUet21kxRRMN7S/d9rfBDxV1GjVGRdPSRcsGt3vkzZ9V7JJs0fkvQwK7a85h8MRUi5KrqRY9PJZOBm8TF+XW9p1AyGYvStCarwdveBgTFxNTwvyeYFPHrZ9MoZ6aVOL1XiOHLN+mR6bIx9fVrH4DXa/oQpt/oy0eKpG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YyFlqj46OyuHcOyjlX1IjPmqpJJCpsBd4dwNZN0qds6WNls/lk2CpP+X6c7WZht+d2+llfOWIoUUFxdt7o7XNTE8PKLZXk0iCP5EpM1hEzoOo6YalTmFMyf44wpZ0gV1ZvwuneBiRLTDhhZCO3YjL0620ILhAAvkeKZ5nVndWEc= Received: by 10.64.210.3 with SMTP id i3mr3273686qbg.1194489570038; Wed, 07 Nov 2007 18:39:30 -0800 (PST) Received: by 10.64.210.17 with HTTP; Wed, 7 Nov 2007 18:39:30 -0800 (PST) Message-ID: <3b47caa90711071839p427c0e9dj83acdaf262af0388@mail.gmail.com> Date: Wed, 7 Nov 2007 20:39:30 -0600 From: Novembre To: "Colin Percival" In-Reply-To: <47326831.9000205@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3b47caa90711071729n597054c5h7e83e08a82a91c34@mail.gmail.com> <47326831.9000205@freebsd.org> 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:39:38 -0000 On Nov 7, 2007 7:36 PM, Colin Percival wrote: > 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 > > Thanks for the reply. I read the man page for portsnap and realized that it stores the snapshots in /var/db/portsnap and wanted to delete everything there and run 'portsnap fetch' again, but decided to post a question and ask first (hoping that there's a shortcut). It's good to hear that nothing went wrong...I'll run 'portsnap update' then.