portmaster -af fails due to dead port - HELP
wblock at wonkity.com
Fri Jul 3 13:36:56 UTC 2015
On Fri, 3 Jul 2015, RW via freebsd-questions wrote:
> On Thu, 02 Jul 2015 23:06:50 -0400
> William F. Dudley Jr. wrote:
>> And it says "users of systems being upgraded from FreeBSD 8.4-RELEASE
>> or earlier will be prompted by freebsd-update(8) to rebuild all
>> third-party applications (e.g., ports installed from the ports
>> tree)". So I need to rebuild the ports.
> You don't need to rebuild them, just replace them with packages built
> against the new base system using pkg. I expect the freebsd-update
> message was written before pkg was created.
> I think at this point it might be simpler to do a pkg delete -a and
> install the packages you want.
That is still the same with building from ports. Building ports with
some of the old ones still in place can cause problems. The fastest and
easiest way is to get a list of installed packages, delete them all,
then reinstall from that list. The portmaster man page shows a
procedure for this, but it has not (yet) been updated for use with pkg.
An updated version is here:
Yes, a PR has been submitted to update the portmaster man page:
More information about the freebsd-questions