So pkgdepend could notice the dependency on a mediated link
and add a require-any dependency on all the packages that
deliver that link.    That seems like a good solution to me.



On Friday October 28, at    2:58PM, Brock Pytlik wrote:

> On 10/28/11 14:48, Chris Quenelle wrote:
>> On Friday October 28, at    2:39PM, Chris Quenelle wrote:
>> 
>>> I misspoke, sorry.  Obviously pkgdepend should add a dependency on
>>> the centralized mediator package for python.  /usr/bin/python
>>> must exist.  I intended to say that pkgdepend should not worry about
>>> which version of python is installed.
>> Sorry, I forgot how mediated links work, I think such a package doesn't 
>> exist.
>> Is there a mechanism to say you must have "one of x, y, z"
>> packages?
> Yep, that's a require-any dependency, a different mechanism than mediated 
> links.
> 
> Mediated links refer to the situation where multiple packages deliver link 
> actions which have the same path but different targets. While typically this 
> would result in a duplicate action error, if the links are mediated then 
> either a vendor, site, user or default preference is used to select which 
> link action's target is placed on the file system.
> 
> Brock
>> 
>> --chris
>> 
> 

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

Reply via email to