portmaster -af fails due to dead port - HELP

Steve O'Hara-Smith steve at sohara.org
Fri Jul 3 12:09:26 UTC 2015

On Thu, 02 Jul 2015 23:06:50 -0400
"William F. Dudley Jr." <wfdudley at gmail.com> wrote:

> Is there a *simple* way to just replace all the ports I've built with 
> the packaged equivalents?

	I went through doing just that some months ago as part of
switching to pkg. The approach I used was to use pkg_cutleaves to get a list
of stuff that wasn't installed as a dependency. Then I looked through it and
removed some I didn't care about winding up with my wanted list.

	Then I used pkg_delete to remove everything, installed pkg and
used pkg install to install everything from my wanted list - which of
course picked up all the dependencies.

	Ever since then all I've needed to do to keep it all up to date is
an occasional pkg upgrade and build the couple of ports for which I have
non-standard options.

	I really don't miss portupgrade, it was a great tool but pkg is
much better.

Steve O'Hara-Smith <steve at sohara.org>

More information about the freebsd-questions mailing list