From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 17:12:08 2008 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 8A30810656D2 for ; Thu, 18 Dec 2008 17:12:08 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id EE27E8FC1A for ; Thu, 18 Dec 2008 17:12:07 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20081218171206.FXQL4080.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Thu, 18 Dec 2008 17:12:06 +0000 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081218171206.NEQG22934.aamtaout04-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Thu, 18 Dec 2008 17:12:06 +0000 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 42F5A6160; Thu, 18 Dec 2008 17:12:04 +0000 (GMT) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 9E3E56131 for ; Thu, 18 Dec 2008 17:12:03 +0000 (GMT) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Thu, 18 Dec 2008 17:12:03 +0000 From: "Daniel Bye" Date: Thu, 18 Dec 2008 17:12:03 +0000 To: freebsd-questions@freebsd.org Message-ID: <20081218171203.GG5150@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20081218151324.698ccb72@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e5GLnnZ8mDMEwH4V" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=ASc-OiL4tFOfQGHd5tkA:9 a=1el3uY4Ll2mPrI2i0IaP492D8psA:4 a=LY0hPdMaydYA:10 a=99e4ui4pt5VJpFEISsgA:9 a=_uj73VhUdegxNuynvzJhwOdcsMEA:4 a=rPt6xJ-oxjAA:10 a=m3NXoxwzeFtovYp-odwA:9 a=X1tyy1l914qnnFUkMbkoh83rYEAA:4 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: portsnap and portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 17:12:08 -0000 --e5GLnnZ8mDMEwH4V Content-Type: multipart/mixed; boundary="zhtSGe8h3+lMyY1M" Content-Disposition: inline --zhtSGe8h3+lMyY1M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 18, 2008 at 04:41:22PM +0100, Pieter Donche wrote: > >Portsnap doesn't know about anything in the ports tree that it didn't > >put there itself. For that reason it needs to bring the tree to an > >initial known-state by replacing all port directories and other > >files. For the same reason you shouldn't mix portsnap and c[v]sup. >=20 > So, do you confirm my statement that only a portsnap update is OK? After the initial fetch and extract, yes, you should use update. > >The extract will bring the tree up-to-date with the fetched snapshot. > >You could use extract instead of update all the time, except that it's > >slower and deletes user generated files in the ports directories (e.g. > >README.html). >=20 > So since it's faster and doesn't delete user generated files,=20 > upgrade is always to be preferred over extract, right? Yes. As RW has already noted, extract will replace the entire ports tree with the pristine version in portsnap's archive. This is quite a lengthy process, given the size of the ports tree these days. update on the other hand, only replaces those ports that are different between the currently installed tree, and the tree in the new portsnap archive. I hope that makes sense... Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --zhtSGe8h3+lMyY1M-- --e5GLnnZ8mDMEwH4V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklKhGMACgkQixf5fBYiFmr+IACg0Z5a0s/v3bOloZBjMmg4Srq9 j88AoK3tFKZDaOauEqNu25iyYTAPeXfS =LGat -----END PGP SIGNATURE----- --e5GLnnZ8mDMEwH4V--