From owner-freebsd-questions Tue Jul 31 4:35:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zigman.2y.net (korpen-86-195.ip-pluggen.com [212.181.86.195]) by hub.freebsd.org (Postfix) with ESMTP id 3C98437B405 for ; Tue, 31 Jul 2001 04:35:16 -0700 (PDT) (envelope-from mr@zigman.2y.net) Received: by zigman.2y.net (Postfix, from userid 1001) id 334C91E71; Tue, 31 Jul 2001 13:35:09 +0200 (CEST) Date: Tue, 31 Jul 2001 13:35:08 +0200 From: Morsal Roudbay To: Kris Kennaway Cc: freebsd-questions@freebsd.org Subject: Re: upgrading a port Message-ID: <20010731133508.A99300@zigman.2y.net> Reply-To: Morsal Roudbay References: <20010731113845.A90101@zigman.2y.net> <20010731025130.A25609@xor.obsecurity.org> <20010731121544.A98758@zigman.2y.net> <20010731040254.A28232@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010731040254.A28232@xor.obsecurity.org> User-Agent: Mutt/1.3.20i X-Operating-System: FreeBSD 4.3 [up 1 day, 23:20] X-Return-Path: morsal@swipnet.se Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 31, 2001 at 04:02:54AM -0700, Kris Kennaway wrote: > On Tue, Jul 31, 2001 at 12:15:44PM +0200, Morsal Roudbay wrote: > > On Tue, Jul 31, 2001 at 02:51:30AM -0700, Kris Kennaway wrote: > > > On Tue, Jul 31, 2001 at 11:38:45AM +0200, Morsal Roudbay wrote: > > > > Hi! > > > > I have a question regarding upgrading ports... > > > > > > > > I am about to install a new version of samba.. but I have the previous > > > > version installed. Since I upgraded my ports collection I cant use make > > > > deinstall no more... So the question is, is it ok to just install a new > > > > version on top of the old? > > > > > > Nope, that will leave orphaned files lying around. > > > > > > > What should I do if I want to remove an old > > > > installed port when the port in my portscollection is newer? > > > > > > Use the portupgrade port to automagically do the upgrading. > > > > > > Kris > > > > orphanes files, is that the only downside? > > Well, that and the old port is still registered, so it clutters up the > system a bit. Just use portupgrade, it's quite trivial. > > Kris Thanks Kris. :) I actually tested portupgrade before mailing this list and I guess it worked too well to be true. :D Cant I unregister it from the database through pkg_delete? Morsal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message