Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 13:09:14 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: portmaster -af fails due to dead port - HELP
Message-ID:  <20150703130914.1608e67e890df138a4d1dd1b@sohara.org>
In-Reply-To: <5595FC4A.6020402@gmail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 02 Jul 2015 23:06:50 -0400
"William F. Dudley Jr." <wfdudley@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@sohara.org>



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