From owner-freebsd-ports Wed May 26 15:20:59 1999 Delivered-To: freebsd-ports@freebsd.org Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id 52E1915853 for ; Wed, 26 May 1999 15:20:57 -0700 (PDT) (envelope-from cpiazza@home.net) Received: from norn.ca.eu.org (localhost.norn.ca.eu.org [127.0.0.1]) by norn.ca.eu.org (Postfix) with ESMTP id C734313E3; Wed, 26 May 1999 15:20:48 -0700 (PDT) Content-Length: 959 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990526151708.D344@fisicc-ufm.edu> Date: Wed, 26 May 1999 15:20:48 -0700 (PDT) Reply-To: Chris Piazza From: Chris Piazza To: Oscar Bonilla Subject: RE: Right way to upgrade a port Cc: ports@FreeBSD.ORG Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 26-May-99 Oscar Bonilla wrote: > I was just wondering what is the right way to upgrade a port... > say i have foobar-1.2 and the port has been upgraded to foobar-2.0 > > do I > > 1. pkg_delete foobar-1.2 > cd /usr/ports/misc/foobar > make install > > 2. cd /usr/ports/misc/foobar > make install > > how do you guys do it and why? I think the True Way is #1. Doing #2 has a few nasties such as leaving old files around and having a very polluted /var/db/pkg. > > p.s. wouln't it be cool if you could install on top of the old version > and later remove the new version just to find out that the old version > still works. :) I have a feeling that that would require a lot of hard drive space for backups :-). There could be the odd chance that would work. Say, if the new version installed everything in a different place! --- Chris Piazza Abbotsford, BC, Canada cpiazza@home.net finger norn@norn.ca.eu.org for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message