Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 07:36:52 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        RW <rwmaillists@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portmaster -af fails due to dead port - HELP
Message-ID:  <alpine.BSF.2.20.1507030732410.23961@wonkity.com>
In-Reply-To: <20150703125812.7359eefd@gumby.homeunix.com>
References:  <CAFsnNZK120bMrk3qUX2AHK_y%2BZtf_xYC8feqYrHChharh7rv=Q@mail.gmail.com> <20150702195510.GA2863@oslo.ath.cx> <CAFsnNZJLKbPeOyi6M--DZyxW9oqKoMj3YECdmn0vJAzRnHSB0w@mail.gmail.com> <CAFsnNZL4ak3j7RhCBBiJ5JBh6jT=Jr%2BjO5xrdPqUQNe3Ah_5BQ@mail.gmail.com> <20150703023514.GA4554@neutralgood.org> <5595FC4A.6020402@gmail.com> <20150703125812.7359eefd@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Jul 2015, RW via freebsd-questions wrote:

> On Thu, 02 Jul 2015 23:06:50 -0400
> William F. Dudley Jr. wrote:
>
>> https://www.freebsd.org/releases/9.3R/installation.html
>>
>> 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:

https://forums.freebsd.org/threads/rebuilding-all-ports-with-portmaster.51210/


Yes, a PR has been submitted to update the portmaster man page:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191166



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1507030732410.23961>