From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 19:45:02 2011 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 359BD106564A for ; Sat, 9 Jul 2011 19:45:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E8DE88FC14 for ; Sat, 9 Jul 2011 19:45:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 37CF93CAC1; Sat, 9 Jul 2011 21:45:01 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p69Jj0n5003170; Sat, 9 Jul 2011 21:45:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Jul 2011 21:45:00 +0200 From: Polytropon To: tomdean@speakeasy.org Message-Id: <20110709214500.19c7c774.freebsd@edvax.de> In-Reply-To: <1310239932.10903.46.camel@asus> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de> <1310238355.10903.36.camel@asus> <1310239932.10903.46.camel@asus> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 19:45:02 -0000 On Sat, 09 Jul 2011 12:32:12 -0700, Thomas D. Dean wrote: > On Sat, 2011-07-09 at 12:05 -0700, Thomas D. Dean wrote: > > Sorry to answer my own post. > > The packages that are out-of-date on the system I was updating are in > relationship to 8.2-release. > > A couple days ago, I cvsup'd the port tree with > *default release-cvs tag=. > ports-all > > Today, > portsnap fetch extract > ... > portsnap fetch update > ... > portupgrade -PPRva > > Does the portsnap update the port tree relative to 8.2-release or > 8-stable? Or, did cvsup get ports from 8-stable? > > Looks like 8-stable. > > 8-stable m4-1.4.16,1.tbz > 8.2-release m4-1.4.15,1.tbz > > Anyway, I can get there from here If I understood everything correctly, CVS (csup) and portsnap do both follow "the one tree" which gets frequently updated, and by the tag specified above you'll always get the current version of the tree. Getting older versions (e. g. the RELEASE tree) involves specifying a different tag, or loading it from the installation media directly. The difference is that changes in the ports tree are reflected much faster in the CVS method than in the portsnap approach, which may "lag" a bit. However, portsnap seems to work faster and to perform better than CVS. It's also worth mentioning that it seems to fit better to the "building cycle" of the -stable ports to become precompiled packages (that you request using the -PP parameter, similar to the use of pkg_add -r in case of installation instead of update). But if you require the most recent ports tree, using CVS seems to be the better method. As you're updating binary, but with using the ports tree (portupgrade relies on that, pkg_add for example doesn't), you should make sure to always have the current version if you follow the stable OS branch. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...