Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 14:20:21 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Warren Block <wblock@wonkity.com>
Cc:        Chris H <bsd-lists@1command.com>, matthias.andree@gmx.de, freebsd-stable@freebsd.org
Subject:   Re: portupgrade(1) | portmaster(8) -- which is more effective for large upgrade?
Message-ID:  <51CC2E05.5080203@quip.cz>
In-Reply-To: <alpine.BSF.2.00.1306262217550.95701@wonkity.com>
References:  <67588ada736599c95cac241b3c3af730.authenticated@ultimatedns.net> <alpine.BSF.2.00.1306261945450.94866@wonkity.com> <9580eaf8d7706197d1fee71c90ed7f20.authenticated@ultimatedns.net> <alpine.BSF.2.00.1306262217550.95701@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CC2E05.5080203>