portupgrade(1) | portmaster(8) -- which is more effective for large upgrade?

Miroslav Lachman 000.fbsd at quip.cz
Thu Jun 27 12:20:30 UTC 2013


Warren Block wrote:
> On Wed, 26 Jun 2013, Chris H wrote:
>>> On Wed, 26 Jun 2013, Chris H wrote:
>>>
>>> Okay, look up the last time you installed or upgraded a port:
>>> % ls -ltr /var/db/pkg
>>>
>>> The last one is the most recently modified. Update your ports tree,
>>> follow all the steps that apply to your system since that date.
>
> That should say "all the steps in /usr/ports/UPDATING that apply to your
> system since that date."

There is a nice command that helps you to list only relevant entries 
from UPDATING (entries from UPDATING for already installed ports)

pkg_updating -d YYYYMMDD

Where YYYYMMDD is the last time you did ports update, for example
pkg_updating -d 20120923

Miroslav Lachman


More information about the freebsd-stable mailing list