is this portupgrade command close?

taxman taxman at acd.net
Fri Apr 18 12:33:32 PDT 2003


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


More information about the freebsd-questions mailing list