Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 22:46:10 -0500
From:      "Michael E. Mercer" <mmercer@ipass.net>
To:        Chris Johnson <cjohnson@palomine.net>
Cc:        Marty Cawthon <mrc@ChipChat.com>, questions@FreeBSD.ORG
Subject:   Re: Deinstall a port that has been updated
Message-ID:  <36AFDD82.9D6F7DC7@ipass.net>
References:  <19990127223227J.mrc@ChipChat.com> <19990127180752.A4580@palomine.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <directory name>

the example of <directory name> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36AFDD82.9D6F7DC7>