Date: Mon, 11 Jul 2016 23:04:18 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Freddie Cash <fjwcash@gmail.com> Cc: Kurt Jaeger <lists@opsec.eu>, bob prohaska <fbsd@www.zefox.net>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Best way to exterminate a port Message-ID: <CAN6yY1tO1UBysG5XPaB%2Bq2ZQY6hSmkH-pjwHBWmmTJQGdsss6g@mail.gmail.com> In-Reply-To: <CAOjFWZ5xbBUEokq8qRgNee4vTd0UVojfBzLt_K9ZNrNHiyrNMg@mail.gmail.com> References: <20160712002734.GE33486@www.zefox.net> <20160712052219.GE95302@home.opsec.eu> <CAOjFWZ5xbBUEokq8qRgNee4vTd0UVojfBzLt_K9ZNrNHiyrNMg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 11, 2016 at 10:33 PM, Freddie Cash <fjwcash@gmail.com> wrote: > On Jul 11, 2016 10:22 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? > > And doesn't pkg delete have -r or -R for recursively deleting dependencies? > 'pkg delete' will automatically do most of this by default. It's a bit of a shock to try to delete a port and see a list of a few hundred ports being deleted with it. E.g. png or pcre. (pkg does ask for confirmation after the list is printed and '-f' will override and delete just the package specified.) "pkg info -d PACKAGE" does provide a list of a package's dependencies and '-r' shows packages depending on the specified package. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tO1UBysG5XPaB%2Bq2ZQY6hSmkH-pjwHBWmmTJQGdsss6g>