From owner-freebsd-questions Mon Dec 18 7:51: 3 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 07:51:00 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 10DAC37B400 for ; Mon, 18 Dec 2000 07:51:00 -0800 (PST) Received: (from dkelly@localhost) by mail.hiwaay.net (8.11.0/8.11.0) id eBIFouI10557; Mon, 18 Dec 2000 09:50:56 -0600 (CST) Date: Mon, 18 Dec 2000 09:50:56 -0600 From: David Kelly To: Tim McMillen Cc: Brent Kearney , freebsd-questions@FreeBSD.ORG Subject: Re: proper way to upgrade a port Message-ID: <20001218095056.B13915@HiWAAY.net> References: <20001217142150.A15561@kearneys.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from timcm@umich.edu on Sun, Dec 17, 2000 at 06:11:17PM -0500 Sender: dkelly@mail.hiwaay.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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