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?

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?

Together, these seem to be inconsistent with one another. 

Thoughts?
Thanks.
Tom



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to