Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 09:50:56 -0600
From:      David Kelly <dkelly@HiWAAY.net>
To:        Tim McMillen <timcm@umich.edu>
Cc:        Brent Kearney <brent@kearneys.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: proper way to upgrade a port
Message-ID:  <20001218095056.B13915@HiWAAY.net>
In-Reply-To: <Pine.SOL.4.10.10012171750150.8554-100000@frogger.gpcc.itd.umich.edu>; from timcm@umich.edu on Sun, Dec 17, 2000 at 06:11:17PM -0500
References:  <20001217142150.A15561@kearneys.ca> <Pine.SOL.4.10.10012171750150.8554-100000@frogger.gpcc.itd.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 17, 2000 at 06:11:17PM -0500, Tim McMillen wrote:
> 
> 
> On Sun, 17 Dec 2000, Brent Kearney wrote:
> > 
> > If I want to upgrade a port, apache for example, what is the best way
> > to proceed?  
[...]
> 	Yes you need to use pkg_delete to get rid of as much as you can.
> Some will not get deleted.  I think the only way to get around that is to
> delete the remnants that are reported by the pkg_delete command by hand.

I think the port intentionally leaves some things laying around on delete.
Such as your apahce.conf, default data directory, PostgreSQL data, etc.

If you have command line completion enabled (default in tcsh) then

	# pkg_delete /var/db/pkg/apach<TAB>

will fill in the nitty gritty hard to type version info. And pkg_delete
isn't unhappy with the leading path.

--
David Kelly N4HHE, dkelly@hiwaay.net (hm)
======================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


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?20001218095056.B13915>