On Mon, Jul 11, 2016 at 10:33 PM, Freddie Cash <fjwc...@gmail.com> wrote:
> On Jul 11, 2016 10:22 PM, "Kurt Jaeger" <li...@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: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"