On 02/12/2013 08:45 AM, gregor herrmann wrote:
> On Tue, 12 Feb 2013 15:50:02 -0000, Erwin wrote:
> 
>> A better solution would be a dependency to a virtual package, which is
>> satisfied when _any_  Java installation is available.
> 
> Virtual packages are not allowed as the first alternative in a
> dependency by the Debian Policy.
> 
> Last time I looked, JabRef only worked with OpenJDK and Sun Java but
> not with other alternatives; if you know other working
> implementations I'm happy to add them.
> 
> BTW: Ubuntu/raring and Debian/experimental have 2.9~beta2+ds-1 or
> newer with:
> "openjdk-7-jre | java6-runtime"
> (with java6-runtime being provided by default-jre, openjdk-6-jre,
> openjdk-7-jre, sun-java6-jre in Debian.)

In addition to Gregor's response regarding the ordering of tangible vs.
virtual dependencies, it is difficult to know a priori what package
names (outside of those distributed directly by Debian or Ubuntu) will
satisfy the JRE/JDK dependency.  If you would like to use a non-distro
JRE/JDK, you can use equivs (or a similar mechanism) to ensure that the
package will satisfy java6-runtime.

Cheers,
tony

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1123186

Title:
  Jabref: flawed dependencies force installation of OpenJDK java

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jabref/+bug/1123186/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to