From owner-freebsd-questions Wed Jan 27 15:07:58 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26988 for freebsd-questions-outgoing; Wed, 27 Jan 1999 15:07:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA26980 for ; Wed, 27 Jan 1999 15:07:54 -0800 (PST) (envelope-from cjohnson@palomine.net) Received: (qmail 4594 invoked by uid 1000); 27 Jan 1999 23:07:52 -0000 Date: Wed, 27 Jan 1999 18:07:52 -0500 From: Chris Johnson To: Marty Cawthon Cc: questions@FreeBSD.ORG Subject: Re: Deinstall a port that has been updated Message-ID: <19990127180752.A4580@palomine.net> References: <19990127223227J.mrc@ChipChat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990127223227J.mrc@ChipChat.com>; from Marty Cawthon on Wed, Jan 27, 1999 at 10:32:27PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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