Forcing port reinstalls without rebuilding over and over again

Paul Schmehl pschmehl_lists at
Wed Dec 12 23:14:29 UTC 2018

--On December 12, 2018 at 2:42:00 PM -0700 Gary Aitken 
<freebsd at> wrote:

> On 12/12/18 1:47 PM, Polytropon wrote:
>> In my opinion, it's a little better to create your own
>> "top ports list" instead of saving the current state (or
>> at least have both lists at hand, but only use your own).
>> In that "top ports list", you list the things you actually
>> want to use, and you do not care about their depencencies,
>> simply because portmaster can resolve them on its own. So
>> first, your list is much more readable (as it will only
>> contain the software you are interested in, and nothing
>> of the software you might need to build or run them), and
>> second, your list will be much more portable and also deal
>> with the "port not needed, but still installed" problem
>> described above.
> That is the way I've done it in the past, using -R -d, and doing so
> does not rebuild dependencies.  I suspect the problem has something
> to do with -a.
Well, you kind of need that if you're going to rebuild all ports.

Paul Schmehl, Retired
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

More information about the freebsd-questions mailing list