From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 00:22:05 2009 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 AD56A1065672 for ; Wed, 7 Oct 2009 00:22:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f207.google.com (mail-ew0-f207.google.com [209.85.219.207]) by mx1.freebsd.org (Postfix) with ESMTP id 29E498FC0A for ; Wed, 7 Oct 2009 00:22:04 +0000 (UTC) Received: by ewy3 with SMTP id 3so1196768ewy.7 for ; Tue, 06 Oct 2009 17:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=VL/QcSUUHYXAxxqF7XoyZzzKTgGKNnnVJAhZf0TChz4=; b=Nu+inGCDVC0CP1HTDZMgqfZj0VR5F4eRsXmEYbKYiNLcRP4QNUQ681LKaz/d9DW4gt RdfzL7Ym58guIVmKmBCaWNNinzX1jVVKuQH/PFkawjzSXUxXb6OGaRKAFcZoeMis6MEp TezN4KDrHHaOsSPR3WUJjS8GGe9ElXSslH0vQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=HgKVaIdKPp7i/4dTHib/NEcp5vQ5aVCyyNaBbzMhH11GMt8zs+sAVLbSGbT+vpxC0r cNWITAARA1Fvxp6K0zorWL3YdPmWuyKsH4Ttm0kp+LypQnh90QgoBoeDYZat6GgybDh6 hEt7tkh040L5TisW2XkVoAmpGWVZS7quEco0U= Received: by 10.216.45.19 with SMTP id o19mr477499web.152.1254874923759; Tue, 06 Oct 2009 17:22:03 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 10sm294306eyd.6.2009.10.06.17.22.02 (version=SSLv3 cipher=RC4-MD5); Tue, 06 Oct 2009 17:22:03 -0700 (PDT) Date: Wed, 7 Oct 2009 01:22:00 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20091007012200.0c1cf378@gumby.homeunix.com> In-Reply-To: <4ACBC82C.3030502@toyon.com> References: <4ACBC82C.3030502@toyon.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Updating the ports collection 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: Wed, 07 Oct 2009 00:22:05 -0000 On Tue, 06 Oct 2009 15:43:56 -0700 Chris Stankevitz wrote: > > The FreeBSD handbook section 4.5.1 describes several methods for > obtaining the ports collection including CVSup, Portsnap, and > sysinstall. > > Section 4.5.1 also describes how to update the ports collection, but > only for the CVSup and Portsnap methods. > > Q1: How do I update the ports collection after using sysinstall to > obtain it? I'd suggest that you don't use the tree from sysinstall, unless your intent is not to update the tree until the next release. If you use portsnap the tree gets overwritten with the "extract", so you might as well not bother with the on-disk version. If you use csup then the steps are 1. Set the tag to match the port snapshot on the disc and run csup 2. Set the tag to "." (the current tree) and run csup again Step 1 does nothing to the tree, but if you skip it you may end with some stale files left in your tree, which could cause serious problems. IMO this is more trouble than it's worth unless you have a dialup connection.