From owner-freebsd-questions@FreeBSD.ORG Fri Apr 9 14:22:21 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 2219216A4CE for ; Fri, 9 Apr 2004 14:22:21 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA3AD43D53 for ; Fri, 9 Apr 2004 14:22:19 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i39LMFQ8077265; Fri, 9 Apr 2004 14:22:16 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.9p2/8.11.3) with ESMTP id i39LMCN9043799; Fri, 9 Apr 2004 14:22:13 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.9p2/8.12.11/Submit) id i39LM9oo043798; Fri, 9 Apr 2004 14:22:09 -0700 (PDT) (envelope-from kline) Date: Fri, 9 Apr 2004 14:22:09 -0700 From: Gary Kline To: Kent Stewart Message-ID: <20040409212209.GA43745@tao.thought.org> References: <4076527F.1060902@users.sourceforge.net> <20040409195959.GA43582@tao.thought.org> <200404091319.47679.kstewart@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404091319.47679.kstewart@owt.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: Andreas Davour cc: Gary Kline cc: freebsd-questions@freebsd.org 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 21:22:21 -0000 On Fri, Apr 09, 2004 at 01:19:47PM -0700, Kent Stewart wrote: > 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] > > > > > 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. > (Wisdom personified....) > > > > 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. > To clear things up a bit, my upgrade scripts are not cron'd. --Experience is a solid teacher.-- One script does basically a portupgrade -ia, the other simply a -a; either way I have to sit thru the pkgdb -F. The rest of the scripts do portclean and leave a log of what needs to be upgraded. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix