stale dependencies in pkgdb

Lists lists at eyede.com
Tue Feb 14 17:46:18 PST 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list