From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 21:49:26 2010 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 2FD531065672 for ; Mon, 19 Apr 2010 21:49:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id B22918FC1B for ; Mon, 19 Apr 2010 21:49:25 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so303131eyd.9 for ; Mon, 19 Apr 2010 14:49:24 -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=3SyYnAh8Crz35mF6F90CIRtPBm7+e4UyUnd9XmMT29o=; b=I3E51FG1tA6IqxFESCdjQwfHCPzBB963giZDJiQ4yUJYEmr6le3oV8tz5QlzTe4Eo4 YRiTwQBJrWhml5I/Mg25gofAlcT08KcGhsi23TqrZKKmE4VESvHO/vIi08mr+2KRf00q V1g+Ydyz/MRWFPf+z/w06IX0E9xh6pP7zzAzE= 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=Uoct17f5jGN1FujwmePi+QBSiaffG0xMVI3Q4BBTgyojp9RvCo1bnVfFvsGmRvSglE tYHew07pNie1VAZU0MCNkS1OzGfBFrrvG17BxbBcEYlQhUUcOUbmryRO+p1jqCdj5w/T aiCt41P/ibXlvnD4fQcbk3dpkm79EpzbSc8Cs= Received: by 10.213.37.11 with SMTP id v11mr3035203ebd.60.1271713764309; Mon, 19 Apr 2010 14:49:24 -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 15sm4040146ewy.4.2010.04.19.14.49.22 (version=SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 14:49:23 -0700 (PDT) Date: Mon, 19 Apr 2010 22:49:20 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100419224920.1c344c13@gumby.homeunix.com> In-Reply-To: <4BCC9B15.4050803@infracaninophile.co.uk> References: <4BCC8E8C.80406@netmusician.org> <4BCC9B15.4050803@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Questions about port revision numbers, portsnap, csup 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: Mon, 19 Apr 2010 21:49:26 -0000 On Mon, 19 Apr 2010 19:04:05 +0100 Matthew Seaman wrote: > You could change to using csup rather than portsnap, but be aware that > this pretty much means scrubbing all of your portsnap state. Indeed, > for best results with csup, starting with an empty /usr/ports might be > an idea -- I don't think that will be necessary, but I can't be > certain. If you switch to csup, switching back to portsnap will > definitely require you to re-download the ports tree and replace > everything you had installed via csup. As I understand it portsnap's state is split between /var and the ports directory itself. The former contains the snapshot and its metadata, and the latter contains the metadata for that specific copy of the tree. Using csup shouldn't affect the stuff under /var, but it invalidates the metadata in the ports directory. If you return to portsnap after using csup you should only need to do a new "extract" which overwrite the individual files and each "origin-directory", and generates the local portsnap metadata. If you are paranoid (or want to clean-up extra cruft) delete the ports directory first. Going the other way the tree should really be deleted and redownloaded to ensure that csup keeps track of all the patch files. That's more of a long-term issue though.