From owner-freebsd-questions@FreeBSD.ORG Wed May 23 01:08:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C095A106566C for ; Wed, 23 May 2012 01:08:45 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06-adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 149278FC14 for ; Wed, 23 May 2012 01:08:44 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtsEAIw3vE/LevdH/2dsb2JhbABDsFWEUYIVAQEFOEEQCxgJEwMPCQMCAQIBRRMBBwEBiAm7D4sIgh+DHgOIQZxLgno Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 23 May 2012 10:38:42 +0930 Message-ID: <4FBC37B4.7060908@ShaneWare.Biz> Date: Wed, 23 May 2012 10:34:52 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120505 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd@dreamchaser.org References: <4FBC1B06.6060102@dreamchaser.org> In-Reply-To: <4FBC1B06.6060102@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portsnap update won't update original /usr/ports 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, 23 May 2012 01:08:45 -0000 On 23/05/2012 08:32, Gary Aitken wrote: > According to the handbook, one can do portsnap fetch portsnap update > and the update will work with a previously created ports tree; I > presume this includes one created during system install. > > However, when I attempted this, portsnap complained: /usr/ports was > not created by portsnap. You must run 'portsnap extract' before > running 'portsnap update'. > > Is there a way to use portsnap against this tree, or must I delete > the existing /usr/ports and do an extract first? > 'portsnap extract' will write over whatever is in /usr/ports so you don't have to delete what is there. Any distfiles or packages will remain intact. You need to start with 'portsnap extract' so that portsnap gets a reference point to use for updates - which only adds changes since last update