From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 01:46:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 095FE16A420 for ; Wed, 15 Feb 2006 01:46:18 +0000 (GMT) (envelope-from lists@eyede.com) Received: from ransack.eyede.com (ransack.eyede.com [202.21.136.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F9043D46 for ; Wed, 15 Feb 2006 01:46:17 +0000 (GMT) (envelope-from lists@eyede.com) Message-ID: <43F287E0.4000403@eyede.com> Date: Wed, 15 Feb 2006 14:46:08 +1300 From: Lists User-Agent: Thunderbird 1.5 (X11/20060117) MIME-Version: 1.0 To: Andrew References: <1139589051.2185.8.camel@netvista.network> <17388.49778.982280.245532@jerusalem.litteratus.org> <1139602596.58491.8.camel@netvista.network> In-Reply-To: <1139602596.58491.8.camel@netvista.network> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by eyede.com Cc: freebsd-questions@freebsd.org Subject: Re: stale dependencies in pkgdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 01:46:18 -0000 Andrew wrote: > On Fri, 2006-02-10 at 11:42 -0500, Robert Huff wrote: >> Andrew writes: >> >>> I've run "pkgdb -F" as portupgrade suggests, deleting stale >>> dependencies, but they seem to keep reappearing. >> I'm not an expert on pkgdb, but I'm pretty sure that's the way >> it works. >> You need to fix, not delete, the stale dependencies. This may >> take some effort the first time around. >> Beyond that, I question the wisdom of any "automatic" >> solution. There are definitely times when I do _not_ want to accept >> the fixes proposed by pkgdb -F. > > My apologies; I re-read the man pages for portupgrade and pkgdb and I > think I understand what's going on now. Thanks anyway... > > -Andrew A good solution in the long term, rather than fixing dependencies every time you do an upgrade, is to look at the ALT_PKGDEP section of pkgtools.conf. Here is how i addressed the cdrtools dependency you mentioned. ALT_PKGDEP = { 'cdr-tools*' => 'cjk-cdrtools*', 'pcre-*' => 'pcre-utf8', } > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"