From owner-freebsd-questions Mon Oct 7 12:49:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D0D37B401 for ; Mon, 7 Oct 2002 12:49:39 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5222143E86 for ; Mon, 7 Oct 2002 12:49:36 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g97JnPN11891; Mon, 7 Oct 2002 14:49:25 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021007144923.012014c0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 07 Oct 2002 14:49:23 -0500 To: John Kozubik , Rus Foster From: "Jack L. Stone" Subject: Re: Proper way to upgrade packaes from ports Cc: questions@FreeBSD.ORG In-Reply-To: <20021007122004.C22036-100000@www.kozubik.com> References: <20021007085818.K84231-100000@freebsd.rf0.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 12:21 PM 10.7.2002 -0700, John Kozubik wrote: > >Rus, > >Please take a look at /usr/ports/sysutils/portupgrade, as it is the >appropriate tool for these sort of upgrades. > >Circumstantial evidence over the years has led me to believe that most >ports will actually successfully and without issue overwrite their >previous iterations that were also installed via the ports tree (lynx, >wget, things like that). > >----- >John Kozubik - john@kozubik.com - http://www.kozubik.com > > > >On Mon, 7 Oct 2002, Rus Foster wrote: > >> Hi All, >> I've got a general question. Say I've install /usr/ports/net/foobar_0.1, >> I do a cvsup and see new foo_bar0.2. What is the best way to upgrade? >> Either pkg_rm foobar_0.1 + pkg_add foobar_0.2, force the installation >> of 0.2 or is there some other way? >> >> Rgds >> >> Rus >> >> -- If you don't mind first deinstalling the old port, then a simple way is to: # pkg_delete ...then cd /usr/ports/foo_2: #make install clean You are now up to date..... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message