From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 12:33:32 2003 Return-Path: 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 0E20737B401 for ; Fri, 18 Apr 2003 12:33:32 -0700 (PDT) Received: from smtp.acd.net (smtp.acd.net [207.179.64.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05AD243FBD for ; Fri, 18 Apr 2003 12:33:31 -0700 (PDT) (envelope-from taxman@ACD.NET) Received: from 207.179.99.163 ([207.179.99.163]) by smtp.acd.net with Microsoft SMTPSVC(5.0.2195.5329); Fri, 18 Apr 2003 15:34:02 -0400 From: taxman To: Gary D Kline , "E. J. Cerejo" Date: Fri, 18 Apr 2003 15:30:40 -0400 User-Agent: KMail/1.5 References: <20030418180758.GA4820@tao.thought.org> <3EA042AC.9070305@laposte.net> <20030418184934.GB4977@tao.thought.org> In-Reply-To: <20030418184934.GB4977@tao.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304181530.40513.taxman@acd.net> X-OriginalArrivalTime: 18 Apr 2003 19:34:12.0360 (UTC) FILETIME=[7D3F8080:01C305E1] cc: FreeBSD Mailing List Subject: Re: is this portupgrade command close? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 19:33:32 -0000 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