From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 15:41:25 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 20DB31065761 for ; Thu, 18 Dec 2008 15:41:25 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (hmacs.cmi.ua.ac.be [143.129.75.10]) by mx1.freebsd.org (Postfix) with ESMTP id AFCB78FC08 for ; Thu, 18 Dec 2008 15:41:24 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (localhost [127.0.0.1]) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8) with ESMTP id mBIFfNSw012218; Thu, 18 Dec 2008 16:41:23 +0100 (CET) Received: from localhost (pdon@localhost) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8/Submit) with ESMTP id mBIFfMKR012215; Thu, 18 Dec 2008 16:41:22 +0100 (CET) X-Authentication-Warning: hmacs.cmi.ua.ac.be: pdon owned process doing -bs Date: Thu, 18 Dec 2008 16:41:22 +0100 (CET) From: Pieter Donche X-X-Sender: pdon@hmacs.cmi.ua.ac.be To: RW In-Reply-To: <20081218151324.698ccb72@gumby.homeunix.com> Message-ID: References: <20081218124318.09f16d42@gumby.homeunix.com> <20081218151324.698ccb72@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: portsnap and portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 15:41:25 -0000 On Thu, 18 Dec 2008, RW wrote: > > [ Since this is on-topic, I'm taking it back on-list. ] > > On Thu, 18 Dec 2008 14:11:26 +0100 (CET) > Pieter Donche wrote: > >> >> 'Installing the tree from disk' do you mean with that: the install >> during sysinstall of /usr/ports from what is on the >> FREEBDSD-7.0-RELEASE CD's ? > > Yes > >> If so, if you have did create a /usr/ports from sysinstall, then only >> a portsnap fetch has to be done, and no portsnap extract >> but only a portsnap update when you need updating a program you >> installed previously from the ports tree ? > > 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. So, do you confirm my statement that only a portsnap update is OK? >> But is it then not better to do a portsnap upgrade immmediatly after >> that first portsnap fetch, since fetch will only get compressed .gz >> files (not decompressed to /usr/ports), so /usr/ports will still be >> of the date of the release of the 7.0 (febr. 2008) ? > > 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). So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right?