On Mon, Oct 07, 2002 at 09:00:49AM +0100, Rus Foster wrote: > 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?
The third way: which is to install and use portupgrade -- it's in ports/sysutils/portupgrade. Generally, directories under /usr/ports don't have any sort of version information in the name, with some exceptions. Updating those ports is handled very smoothly by portupgrade. However, if there are two different versioned ports, eg. www/apache13 and www/apache2, (or even www/mozilla and www/mozilla-devel), then they are separate ports. Don't assume that just because they have similar names that one can be trivially substituted for the other. Sometimes you can, but more usually it takes a lot of bodging around to sort out dependencies and so forth if it can be done at all. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message