Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 06:07:49 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Garrett Wollman <wollman@hergotha.csail.mit.edu>
Cc:        bsd-lists@1command.com, freebsd-stable@freebsd.org
Subject:   Re: portupgrade(1) | portmaster(8) -- which is more effective for  large upgrade?
Message-ID:  <alpine.BSF.2.00.1306270602300.99683@wonkity.com>
In-Reply-To: <201306270505.r5R55RJD040660@hergotha.csail.mit.edu>
References:  <201306270505.r5R55RJD040660@hergotha.csail.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Jun 2013, Garrett Wollman wrote:

> Having just gone through this in two different environments, I can
> very very strongly recommend doing the following.  It's not the "easy
> button" of the TV commercials, but it will make things much much
> easier in the future.

This is an interesting procedure and should be made into a 
web-accessible document!  Setting up a build machine for a network is a 
fairly common desire, and your procedure looks to be doing everything 
the newest way.

> Then look through the output of "pkg query" to identify the leaf
> packages that are the ones you actually wanted explicitly to have
> installed.

On a single machine, this can be approximated with portmaster's 
"--list-origins" option.  It gives a list of root and leaf ports which 
can be edited to just the desired ones.  Feed that list to portmaster on 
a system with no ports installed, and it will install the leaf ports and 
dependencies.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1306270602300.99683>