Best way to exterminate a port

Kurt Jaeger lists at opsec.eu
Tue Jul 12 05:22:23 UTC 2016


Hi!

> Is there an easy way to "rip out by the roots" a botched
> port install and start over, including re-doing all the
> configuration dialogs of the port and its dependencies?

For one port:

pkg delete port

cd /usr/ports/<...>

make rmconfig
make config

You probably have to do that for each of its dependencies.

You get a list of dependencies with:

pkg query '%n-%v %do'

-- 
pi at opsec.eu            +49 171 3101372                         4 years to go !


More information about the freebsd-ports mailing list