Date: Tue, 17 Jul 2001 06:20:03 -0500 From: Mike Meyer <mwm@mired.org> To: Mike Smith <msmith@freebsd.org> Cc: Kris Kennaway <kris@obsecurity.org>, Chris Johnson <cjohnson@palomine.net>, "Ramoncito P. Puyat" <nitronarc@foresightone.com>, freebsd-stable@FreeBSD.ORG Subject: Re: difficulty uninstalling ports Message-ID: <15188.8035.258415.122902@guru.mired.org> In-Reply-To: <200107130107.f6D17T001905@mass.dis.org> References: <20010712174441.A52241@xor.obsecurity.org> <200107130107.f6D17T001905@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith <msmith@freebsd.org> types: > > I recall someone asking on this or a related thread, how to uninstall all > your ports. This is actually easier than it sounds; go to /var/db/pkg > and say 'pkg_delete *', and keep doing it until the directory is empty. 8) Oddly, people pointed out that pkg_delete supported globbing, but nobody mentioned the -f flag, which forces it to delete the package even if that might cause problems. Doing that should empty the directory the first time you run 'pkg_delete -f *'. No, I did *not* test this. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15188.8035.258415.122902>