installing a package that wants the "wrong" java

Robert P. J. Day rpjday at crashcourse.ca
Tue Jun 29 20:21:25 UTC 2010


On Tue, 29 Jun 2010, Florian Diesch wrote:

> If you use "sun-java6-sdk | java6-sdk" as dependency the package
> manager will accept any package providing java6-sdk and install
> sun-java6-sdk if no package providing java6-sdk is already installed

  just to be clear, is that *precisely* what that expression means?
i'm used to the standard "OR" operator being commutative so if i was
reading that expression from a position of pure ignorance (not a
far-fetched notion), i would interpret that as one or the other, and
it didn't matter which.

  the way you describe it, i would have to interpret that expression
as "sun-java6-jdk UNLESS java6-sdk (is already installed)"; in other
words, order very much makes a difference.  am i reading that
correctly?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list