Date: Sat, 17 Nov 2012 16:18:23 -0600 From: Paul Schmehl <pschmehl_lists@tx.rr.com> To: Alexander Kapshuk <alexander.kapshuk@gmail.com>, freebsd@dreamchaser.org Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>, Bernt Hansson <bah@bananmonarki.se> Subject: Re: ports: deinstall-all Message-ID: <AC1DD16C1A10FAF5298D8E00@Pauls-MacBook-Pro.local> In-Reply-To: <50A800B7.7080809@gmail.com> References: <50A16467.6090406@dreamchaser.org> <50A1F06F.7080602@bananmonarki.se> <50A800B7.7080809@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--On November 17, 2012 11:25:11 PM +0200 Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > On 11/13/2012 09:02 AM, Bernt Hansson wrote: >> If you really want to remove all installed ports you can do as I do >> >> pkg_delete -f \* > Perhaps not an ideal solution, but rather an alternative one, which works > in bourn-derived shells: > ># for p > in `pkg_info -ao | grep '.*/.*' | sed 's;.*;/usr/ports/&;'` > { > cd $p && make deinstall > } > All that to accomplish this? pkg_deinstall -fa Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC1DD16C1A10FAF5298D8E00>