Tom Mueller (pkg-discuss) wrote:
> Consider this case:
> 
> Authority a has [EMAIL PROTECTED] and is the preferred authority.
> Authority b has [EMAIL PROTECTED]
> 
> Based on reading the image.make_install_plan method,
> 
> pkg install foo
> 
> selects pkg://a/[EMAIL PROTECTED] to install.
> 
> Is that the expected behavior?

I believe so.

> Now consider another case starting with the same situation above.
> Another package in authority a, [EMAIL PROTECTED] has a required dependency 
> on foo 
> (target=foo). The command:
> 
> pkg install bar
> 
> Will select pkg://b/[EMAIL PROTECTED] since the dependency evaluation logic 
> in 
> imageplan.evaluate_fmri doesn't make a distinction between the preferred 
> and non-preferred authorities.
> 
> Is that the expected behavior?

Not to me.

> Together, these seem to be inconsistent with one another. 

I agree.

> Thoughts?

I'd wait until Bart has a chance to sort out the various issues we 
currently have with authorities.

-- 
Shawn Walker | Solaris Kernel | [EMAIL PROTECTED] | blogs.sun.com/srw
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to