Date: Thu, 12 Jul 2001 21:52:40 -0700 From: Jordan Hubbard <jkh@osd.bsdi.com> To: msmith@FreeBSD.ORG Cc: kris@obsecurity.org, cjohnson@palomine.net, nitronarc@foresightone.com, freebsd-stable@FreeBSD.ORG Subject: Re: difficulty uninstalling ports Message-ID: <20010712215240A.jkh@osd.bsdi.com> 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
And, as I'm sure others have pointed out by now, it's even easier to do this with the -a flag. :) Of course, since pkg_delete also supports globbing now, one assumes 'pkg_delete *' from *any* directory would also work. - Jordan From: Mike Smith <msmith@FreeBSD.ORG> Subject: Re: difficulty uninstalling ports Date: Thu, 12 Jul 2001 18:07:28 -0700 > > 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) > > Note that you may want to watch the error messages so that you can trim > now-unused junk out of $PREFIX, but that's optional. > > -- > ... every activity meets with opposition, everyone who acts has his > rivals and unfortunately opponents also. But not because people want > to be opponents, rather because the tasks and relationships force > people to take different points of view. [Dr. Fritz Todt] > V I C T O R Y N O T V E N G E A N C E > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message 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?20010712215240A.jkh>