From owner-freebsd-stable Thu Jul 12 21:52:56 2001 Delivered-To: freebsd-stable@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id 1671237B401; Thu, 12 Jul 2001 21:52:52 -0700 (PDT) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.4/8.11.4) with ESMTP id f6D4qet28541; Thu, 12 Jul 2001 21:52:40 -0700 (PDT) (envelope-from 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 In-Reply-To: <200107130107.f6D17T001905@mass.dis.org> References: <20010712174441.A52241@xor.obsecurity.org> <200107130107.f6D17T001905@mass.dis.org> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010712215240A.jkh@osd.bsdi.com> Date: Thu, 12 Jul 2001 21:52:40 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 31 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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