Best way to exterminate a port

Freddie Cash fjwcash at gmail.com
Tue Jul 12 08:46:03 UTC 2016


On Jul 11, 2016 10:49 PM, "Kurt Jaeger" <lists at opsec.eu> wrote:
>
> 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 ?

Hrm, yeah, that's upwards (delete all the other ports that use this one)
and not downwards (all the ports this one needs to install) like the OP
wants. Or vice versa? Either way, not what the OP wants.


More information about the freebsd-ports mailing list