Todd Pisek wrote:
Shawn Walker wrote:
Todd Pisek wrote:
Suppose I have two packages called X and Y. I want to make these packages mutually exclusive. That is, if X is installed, Y can't be installed and vice versa.

How do I do this?

Package exclusions are not currently supported, and as far as I know, aren't planned.

Can you describe what the specific usage case is here or why you need this functionality?
We have traditionally packaged two variants of the the QFS file system code and its associated archiver/HSM (Hierarchical Storage Manager). The sam-qfs package had SAM (the archiver/HAM) and QFS. The QFS package is just QFS. SAM is tightly woven into QFS. While I'm sure it technically feasible to separate the two, it is non-trivial and there are no plans on our current road map to perform such a separation.

So just remove all the duplicate QFS files from SAM, and create a require dependency from SAM on QFS.

If you install SAM, you get both.  If you install QFS, you only get
that.

- 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