On Sun, 2005-04-03 at 12:53 -0700, Ralph Giles wrote: > On Sun, Apr 03, 2005 at 09:21:55PM +0200, Matthias Klose wrote: > > > consider > > > > Package: baz > > Depends: python2.2 | python2.3, python2.2-foo | python2.3-foo, > > python2.2-bar | python2.3-bar > > > > the dependencies are fullfilled installing python2.2-foo and > > python2.3-bar... > > So how does package baz invoke python? and how does it know it got the > right version?
package baz needs to decide what version it is going to work with first; Depends: python (>=2.2), python (<2.4), python-foo, python-bar the default version of python between >=2.2 and <2.4. should use /usr/bin/python Depends: python2.2, python2.2-foo, python2.2-bar python version 2.2 only. should use /usr/bin/python2.2 Depends: python2.3, python2.3-foo, python2.3-bar python version 2.3 only. should use /usr/bin/python2.3 If you wish to support all of these, then you need to create separate packages for each; python-baz, python2.2-baz, python2.3-baz. The only way it could do what you are suggesting is if dpkg supported dependencies like; Package: baz Depends: (python (>=2.2), python (<2.4), python-foo, python-bar) | (python2.2, python2.2-foo, python2.2-bar) | (python2.3, python2.3-foo, python2.3-bar) You could file a bug report (if there isn't already one) against dpkg, but do we really need it? We already support multiple versions of Python rather well... last time I looked we do it much better than any other distro. > Thank you for the pointer (see the bug history) to the python policy. I > understand where you're coming from better now. But you still seem to be > saying the bug should be closed because the change it requests is > counter to the policy *whose behavior the bug report is against*. That > seems inappropriate to me. It is fair enough to close a bug with a "wont fix" because it is a wishlist that is never going to be implemented... -- Donovan Baarda <[EMAIL PROTECTED]> http://minkirri.apana.org.au/~abo/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]