Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 14:46:08 +1300
From:      Lists <lists@eyede.com>
To:        Andrew <andrew.chace@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: stale dependencies in pkgdb
Message-ID:  <43F287E0.4000403@eyede.com>
In-Reply-To: <1139602596.58491.8.camel@netvista.network>
References:  <1139589051.2185.8.camel@netvista.network>	<17388.49778.982280.245532@jerusalem.litteratus.org> <1139602596.58491.8.camel@netvista.network>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43F287E0.4000403>