On Mon, 15 Aug 2005 12:37:13 -0600 (MDT) Rick Kelly <rmk@toad.rmkhome.com> wrote: > > Is there a clean way to remove all the packages on a system? Depends on where your package tree and package database are located... rm -rf /usr/pkg/* /var/db/pkg/* or for i in `pkg_info -a | awk '{print $1}'` do pkg_delete -f $i done