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

Ronald Klop ronald-freebsd8 at klop.yi.org
Fri Jun 28 17:38:33 UTC 2013


On Thu, 27 Jun 2013 16:14:31 +0200, Chris H <bsd-lists at 1command.com> wrote:

>> 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
> Greetings Miroslav,
> That _is_ nice. Thank you for taking the time post this.
> That'll help quite a bit!

/usr/ports/ports-mgmt/portupdate-scan is also very usefull

Ronald.


More information about the freebsd-stable mailing list