Jyri Virkki wrote:
Robert Milkowski wrote:
Otherwise we will end up with situation where user will be able to install package A or B but not both... it shouldn't happen with the packages coming from official repositories.

IPS probably lacks this feature, but another very useful capability in
debian is the ability to have mutually exclusive packages which
deliver overlapping files.

An easy example is multiple packages which deliver /usr/lib/sendmail
http://packages.debian.org/lenny/i386/postfix/filelist
http://packages.debian.org/lenny/i386/exim4-daemon-heavy/filelist
...



An exclude dependency is the mirror image of an optional dependency;
the latter defines a required minimum level of another package, if
installed; the former defines a maximum level of another package.

I've implemented this in my SAT solver prototype; implementation in
IPS depends on the SAT solver since these types of dependencies very
quickly force backtracking.

In general, exclude dependencies are symptoms of a lack of imagination
or cooperation between the parties responsible for the conflicting
packages, but I understand how these things can happen.  In any case,
IPS will support them in the 10/02 release.

- 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

Reply via email to