Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 13:35:08 +0200
From:      Morsal Roudbay <morsal@swipnet.se>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrading a port
Message-ID:  <20010731133508.A99300@zigman.2y.net>
In-Reply-To: <20010731040254.A28232@xor.obsecurity.org>
References:  <20010731113845.A90101@zigman.2y.net> <20010731025130.A25609@xor.obsecurity.org> <20010731121544.A98758@zigman.2y.net> <20010731040254.A28232@xor.obsecurity.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010731133508.A99300>