Date: Mon, 07 Oct 2002 14:49:23 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: John Kozubik <john@www.kozubik.com>, Rus Foster <rghf@fsck.me.uk> Cc: questions@FreeBSD.ORG Subject: Re: Proper way to upgrade packaes from ports Message-ID: <3.0.5.32.20021007144923.012014c0@mail.sage-one.net> In-Reply-To: <20021007122004.C22036-100000@www.kozubik.com> References: <20021007085818.K84231-100000@freebsd.rf0.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <foo_1> ...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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20021007144923.012014c0>