Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 21:55:37 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: the art of pkgdb -F
Message-ID:  <4609F549.3000904@u.washington.edu>
In-Reply-To: <200703272037.12036.beech@alaskaparadise.com>
References:  <20070328011712.GR11147@tigger.digitaltorque.ca>	<8cb6106e0703271834l9014bffp8f1d5e753f7ec108@mail.gmail.com>	<8EEB22EE-7230-4EEC-BEFE-514EBE059992@goldmark.org> <200703272037.12036.beech@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Beech Rintoul wrote:
> On Tuesday 27 March 2007, Jeffrey Goldberg said:
>> On Mar 27, 2007, at 8:34 PM, Josh Carroll wrote:
>>>> Stale dependency: p5-Authen-SASL-2.09 -> p5-GSSAPI-0.24
>>>> (security/ p5-GSSAPI):
>>>> p5-Geography-Countries-1.4 (score:26%) ? ([y]es/[n]o/[a]ll) [no]
> In this case the port p5-Authen-SASL-2.09 is linked to p5-GSSAPI-0.24, 
> but security/ p5-GSSAPI-0.24 doesn't exist. thus it's a "stale 
> dependency".
> 
> It then searches what ports you do have installed and picks what it 
> thinks is closest. In this case p5-Geography-Countries-1.4. the score 
> is how close a match to the original dependency this choice is. In 
> this case 26% which isn't a very good match.
> 
> ([y]es/[n]o/[a]ll) [no] means "Do I want to change the link to what's 
> suggested? Yes No or All. All means every time a stale link to 
> p5-GSSAPI-0.24 is found answer yes. And finally the last [no] is the 
> default. Hitting enter will use this answer unless you change it.
> 
> Unless you're sure of the replacement choice (it's just a version 
> update etc...), don't blindly just choose "yes". You can really shoot 
> yourself in the foot and cause all kinds of build failures. If you're 
> not sure, choose "no" and hit enter. It will then ask you if you want 
> to reinstall the dependency it's looking for. Which would be a good 
> choice in this case.
> 
> Hope this helps,
> 
> Beech
> 
>>> Well this one is pretty obvious. Look at what the stale
>>> dependency is, and what it's suggesting? :)
>> To me it is entirely unclear.  First of all, I don't know what
>> "stale dependency" is supposed to mean.  Second, I don't know what
>> "score" means, and finally, I don't know what the question is that
>> I'm to answer yes, no or all to.
>>
>> So I've just taken to running with -Fa and hope for the best (and
>> so far everything has worked).
>>
>> If the answers to these questions are in the man page for pkgdb, I
>> apologize, but I haven't found them there.
>>
>> Cheers,
>>
>> -j

Stale's like "lost", but IIRC the entry is still there or the current
entry was properly updated to reflect the move.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4609F549.3000904>