From owner-freebsd-questions Wed Jan 27 19:44:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01199 for freebsd-questions-outgoing; Wed, 27 Jan 1999 19:44:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01190 for ; Wed, 27 Jan 1999 19:44:24 -0800 (PST) (envelope-from mmercer@ipass.net) Received: from ipass.net (ts6-129-ppp.ipass.net [198.78.59.129]) by pluto.ipass.net (8.9.1a/8.9.1) with ESMTP id WAA06354; Wed, 27 Jan 1999 22:42:08 -0500 (EST) Message-ID: <36AFDD82.9D6F7DC7@ipass.net> Date: Wed, 27 Jan 1999 22:46:10 -0500 From: "Michael E. Mercer" X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Chris Johnson CC: Marty Cawthon , questions@FreeBSD.ORG Subject: Re: Deinstall a port that has been updated References: <19990127223227J.mrc@ChipChat.com> <19990127180752.A4580@palomine.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Another way to find out what is installed is to go to /var/db/pkg This directory has all the packages you have installed on your system. then you could use pkg_delete the example of would be as given already below. ja-netscape-communicator-4.08 That would be what would show up in /var/db/pkg. Hope I did not confuse you. later Michael ps: CAUTION: make sure you delete an old package before you install a new one, they may use some of the same files. Chris Johnson wrote: > > On Wed, Jan 27, 1999 at 10:32:27PM +0000, Marty Cawthon wrote: > > Hello BSDaemons! > > > > I need some pointers: > > "How do I deinstall a port that has been updated?" > > > > Specifically: > > ------------- > > ja-netscape-communicator-4.07 > > was installed as a port in 1998-December. > > > > Today I tried to deinstall this port, > > then later I plan to install Netscape NAVIGATOR 4.5 > > > > Here is what happened: > > -------------------- > > # cd /usr/ports/japanese > > # cd netscape4-communicator > > # make deinstall > > ==> deinstalling for ja-netscape-communicator-4.08 > > pkg_delete: no such package 'ja-netscape-communicator-4.08' installed > > ** Error code 1 > > -------------------- > > Don't try to use "make deinstall." Use pkg_delete directly instead. > > First, find out the exact name of the installed package: > > $ pkg_info -I -a | grep netscape > > This should yield something like: > > ja-netscape-communicator-4.07 > > Then delete it: > > $ pkg_delete ja-netscape-communicator-4.07 > > That should do it! > > Chris > > > > > I examined the 'Makefile' and searched the mailing list archives, but > > it is not clear how best to proceed with this. > > > > In advance, "thank you" for your consideration and suggestions. > > > > Marty Cawthon > > ChipChat > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message