Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2016 22:57:00 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Best way to exterminate a port
Message-ID:  <CAOjFWZ7VZoufjFd-VK1yOQqP6uX5VMB8%2BQLS0QUqfHK30ushfw@mail.gmail.com>
In-Reply-To: <20160712054913.GF95302@home.opsec.eu>
References:  <20160712002734.GE33486@www.zefox.net> <20160712052219.GE95302@home.opsec.eu> <CAOjFWZ5xbBUEokq8qRgNee4vTd0UVojfBzLt_K9ZNrNHiyrNMg@mail.gmail.com> <20160712054913.GF95302@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 11, 2016 10:49 PM, "Kurt Jaeger" <lists@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7VZoufjFd-VK1yOQqP6uX5VMB8%2BQLS0QUqfHK30ushfw>