Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 16:19:57 GMT
From:      Marty Cawthon <mrc@ChipChat.com>
To:        questions@FreeBSD.ORG
Subject:   Re: Deinstall a port that has been updated
Message-ID:  <19990128161957V.mrc@ChipChat.com>
In-Reply-To: Your message of "Wed, 27 Jan 1999 22:46:10 -0500" <36AFDD82.9D6F7DC7@ipass.net>
References:  <36AFDD82.9D6F7DC7@ipass.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello BSDaemons!

<SNIP> from Marty Cawthon's question
>> # make deinstall
>> ==> deinstalling for ja-netscape-communicator-4.08
>> pkg_delete: no such package 'ja-netscape-communicator-4.08' installed
>> ** Error code 1
<SNIP> from Chris Johnson's reply
> Don't try to use "make deinstall." Use pkg_delete directly instead.
><SNIP> 
>     $ pkg_delete ja-netscape-communicator-4.07
<SNIP>

  Thank you to Chris Johnson, Michael Mercer, and Lowell Gilbert for
your replies. 
  Following your recommendations I used 'pkg_delete' to remove
Netscape Comm 4.07.  I am satisified.

However, a question remains, 
as my understanding of 'ports' and 'packages' is as follows:
------------------------------------------------------------------
Ports:                              Packages
------                             -----------
install with 'make install'         install with 'pkg_add'
remove with  'make deinstall'       remove with 'pkg_delete'
------------------------------------------------------------------

  In the 'man' pages for 'ports' there is a make option: 'reinstall'
for restoring ports that were removed with 'pkg_delete' when they
should have been removed with 'port deinstall'.  This implies that
a 'pkg_delete' may not be the correct way of deleting a port.

One thought: 
Because Netscape is binary code, perhaps the 'port' is the same
as the 'package'?

  Any comments that will help to set me straight with respect to
deleting PORTS and deleting PACKAGES will be appreciated.

Marty Cawthon
ChipChat

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?19990128161957V.mrc>