Venky wrote: > > 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? >
The idea is that incorporations are going to specify the version that is needed. By loading two incorporations that conflict, you're going somewhere that isn't really part of the plan and which will not work when incorporations specify both min and max versions. The fact that you got the lower versioned fmri in the first case is a bug which my next push will address. You'll get better results if you make [EMAIL PROTECTED] and [EMAIL PROTECTED], the way I do in the src/tests/cli/t_upgrade.py test case; that's how I intended this to be used. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
