From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 16:09:23 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 0B51216A4CE for ; Sat, 25 Sep 2004 16:09:23 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0DE43D1D for ; Sat, 25 Sep 2004 16:09:22 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Sat, 25 Sep 2004 11:05:36 -0500 Message-ID: <415597CE.1050004@daleco.biz> Date: Sat, 25 Sep 2004 11:07:42 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "W. D." References: <4154AEA4.5090208@makeworld.com> <5.1.0.14.2.20040924173912.06169ce0@209.152.117.178> <4154AEA4.5090208@makeworld.com> <5.1.0.14.2.20040924232725.0f5d0380@209.152.117.178> In-Reply-To: <5.1.0.14.2.20040924232725.0f5d0380@209.152.117.178> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Sep 2004 16:05:47.0622 (UTC) FILETIME=[85206860:01C4A319] cc: "Donald J. O'Neill" cc: freebsd-questions@freebsd.org cc: Curtis Vaughan Subject: Re: Port upgrading - my way 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: Sat, 25 Sep 2004 16:09:23 -0000 W. D. wrote: >At 23:11 9/24/2004, Donald J. O'Neill wrote: > > >>W.D. it's your cron job I'm looking, so I'll talk about it. It would >>work, probably most of the time. Your example has both portsdb -Uu >>and make index in it. Just use one, otherwise you're building INDEX-5 >>twice. Running pkgdb -fu (by the way, make that -uf instead, I know >>it doesn't make any difference but I look at it and laugh too hard >>to think about anything else) >> >> > >Yeah, I guess we really want to un-eff the database, rather than >eff-up the database. ;^) > > > >>won't do the trick in the case were >>you've deleted something and the now missing dependencies were not >>taken care of. >> >> > >How would one know when this has occurred? > > Portupgrade's utilities will gripe at you, and not complete their assigned tasks (e.g., you type "portsdb -uU" and it returns something similar to "stale dependency: pkgfoo-2.1 -> pkgbar-3.2 run pkgdb manually to fix, or specify -F to force") >>You're going to have to do pkgdb -fF and manually >>remove the bad dependencies. >> >> > >I am clueless here. How would one do this if/when >it would happen. > > Y.A.C.A. (Yet Another Classic Article): http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html This time by Michael Lucas, and yes, it's older than the last, but the concepts are there to be found .... HTH, KDK