On 12.07.2016 07:33, Freddie Cash wrote:
On Jul 11, 2016 10:22 PM, "Kurt Jaeger" <[email protected]> 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 help delete says:

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

Also if the dependencies were installed as dependencies, just do an "pkg autoremove" after deletion.

If not do some shell magic like:
pkg info -d gtk2 | tail -n+2 | awk '{ print $1 }' | xargs pkg delete

Greetings,
Torsten
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to