On Wed, Apr 09, 2008 at 10:10:17AM -0700, Bart Smaalders wrote:
> Venky wrote:
>> Hi Bart,
>>
>> I've been trying out the new incorporation stuff.  Know it is early
>> days still, but I seem to be hitting some problems.  For instance,
>> installing a package with an incorporation dependency does not seem
>> to pull in its dependent packages.  Also, explicitly installing
>> a disallowed version of a constrained package works, even though it
>> violates the incorporation constraint.
>>
>
> First of all, an incorporation is an optional dependency, so installing
> one doesn't drag in all the dependencies.

Okay.  That makes sense.

> Second, due to time constraints, incorporations specify only a minimum
> dependency as yet.  This will get fixed, but we need to make 
> propose/evalute_fmri
> do proper backtracking to work under all conditions.

Not sure if I got the minimum dependency part.  I tried the
following:

- Create incorp1 which depends on [EMAIL PROTECTED]
- Create incorp2 which depends on [EMAIL PROTECTED]
  (That is, two different incorporations which depend on different
  versions of the same package.)

In the first case, I installed 'incorp1', followed by 'incorp2' and
then followed by 'pkg1'.  This time, '[EMAIL PROTECTED]' got installed.

The second case, I installed 'incorp1', followed by 'pkg1'.  I got
'[EMAIL PROTECTED]', as expected.  Then, I installed 'incorp2'.  This ended
up pulling in '[EMAIL PROTECTED]'.

Is this kind of scenario (having two incorporations which might
depend on different package versions installed at the same time)
supported?  How is it supposed to work?

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

Reply via email to