From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 13:19:55 2004 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 928A216A4CE for ; Fri, 9 Apr 2004 13:19:55 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07CF443D39 for ; Fri, 9 Apr 2004 13:19:55 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i39KJn8a002567; Fri, 9 Apr 2004 13:19:50 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Fri, 9 Apr 2004 13:19:47 -0700 User-Agent: KMail/1.6.1 References: <4076527F.1060902@users.sourceforge.net> <20040409195959.GA43582@tao.thought.org> In-Reply-To: <20040409195959.GA43582@tao.thought.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404091319.47679.kstewart@owt.com> cc: Andreas Davour cc: Gary Kline Subject: Re: Portupgrade problem 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, 09 Apr 2004 20:19:55 -0000 On Friday 09 April 2004 01:00 pm, Gary Kline wrote: > On Fri, Apr 09, 2004 at 09:14:07PM +0200, Andreas Davour wrote: > > On Fri, 9 Apr 2004, Andrew L. Gould wrote: > > > On Friday 09 April 2004 01:55 pm, Andreas Davour wrote: > > > > [snip] > > > > > > If anyone can shed some light on those matters, then I'm all > > > > ears. I can't get a new version of Firefox to compile without > > > > atk so I'm very interested in getting this to work. > > > > > > > > I have run 'pkgdb -F' and tried to remove the dependecy, but > > > > have not succeeded. I'm not even sure it would be wise to do > > > > it... > > > > > > Did you remember to execute 'pkgdb -Uu' after cvsup and before > > > portupgrade? > > > > So be quite frank, I have no idea! I think I followed all > > instructions quite litterally. But portupgrade was mentioned in the > > handbook and the "cookbook" examples I found on the web differed > > somewhat. I no longer remembered if I did a 'pkgdb -Uu' or not. > > > > I there any telltale signs showing in the narrative in my first > > post that indicates I forgot it? Is it recommendable I run it now > > then? > > > > /andreas > > If I can offer a practical tip re cvsu'ing and running 'pkgdb > -Uu', why not script it and run it out of cron? That's how I > make sure tht my ports tree is neat nd clean. I run a cvsup of ports-all on a machine I usually use for testing. If something breaks down, I have the other machines to recover it from. I log everything and convert it into html using Ben Smithurst's cvsuplog. Then, I upade my INDEX[-5] and INDEX.db; however, before I build the new INDEX, I convert the current INDEX into a bzip2'ed file and keep 3 backups. A major disaster building INDEX is easily overcome by unzipping one of the backups and the appropriate INDEX. > > When I do a portupgrade, my script runs pkgdb -F as a first > steps. ...Just my dime's worth. > My dimes worth is that I won't run anything in a cronjob that may require an answer from me. I also don't run pkgdb -F until portupgrade tells me to do that. Since it updates the information when it is doing upgrades, you only need to do it when it really has to be done. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html