Best way to exterminate a port

Kurt Jaeger lists at opsec.eu
Tue Jul 12 08:46:28 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
> 
> Isn't there an "rmconfig-recursive" target?

Thanks, I was not aware of that.

> And doesn't pkg delete have -r or -R for recursively deleting dependencies?

man pkg-delete has

   -R
                Delete all packages that require the listed packages as well.

So it looks that this does something else ?

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


More information about the freebsd-ports mailing list