Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 15:30:40 -0400
From:      taxman <taxman@acd.net>
To:        Gary D Kline <kline@thought.org>, "E. J. Cerejo" <ej.cerejo@laposte.net>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: is this portupgrade command close?
Message-ID:  <200304181530.40513.taxman@acd.net>
In-Reply-To: <20030418184934.GB4977@tao.thought.org>
References:  <20030418180758.GA4820@tao.thought.org> <3EA042AC.9070305@laposte.net> <20030418184934.GB4977@tao.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 18 April 2003 02:49 pm, Gary D Kline wrote:
> On Fri, Apr 18, 2003 at 02:23:40PM -0400, E. J. Cerejo wrote:
> > >	   # portupgrade -bP openoffice-1.0.3
> >
> > If you want to keep a backup of the older files and build a package
> > after install then it is the command but it won't upgrade the

capital P will attempt to download and install a package if it can.  This 
seems like what he wanted to do.  lower case p will create a package after 
it's done building

> > dependencies. If dependencies need to be upgraded also you might end up
> > with different versions of dependencies.
> > Since I'm not interested in keeping a backup or build a package I always
> > use this:
> >
> > # portupgrade -R port_name
> >
> > The -R makes sure it builds my out of date dependencies also
>
> 	Since I have the newer 1.0.3 src I could just rebuild
> 	here.  That may be the more rational approch if  I were
> 	to do a src upgrade.
>
> 	Shouldn't the dependencies be correctly configured in
> 	the package tarball?

no.  a package is a pckage of just that port/program.  If you use packages 
without having the correct dependencies installed, it wil not install the 
package properly.  My guess is you would want the R, Gary.  I have not tried 
it, but I assume that if you use -RP it will use packages for everything 
including the packages that openoffice needs.

Tim



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