[
https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433557#comment-13433557
]
Eric Evans commented on CASSANDRA-4498:
---------------------------------------
{quote}
I was not try to recommend we do not declare the dependency of java, I was
simply trying to point out that if we make the change to the packages so one
without a jvm could simply run
apt-get install --install-suggests cassandra
and openjdk will be installed, but those who have already install a jvm could
simply run
apt-get install cassandra
and there will be no wasted time installing / downloading openjdk for those who
do not need it or other hacks like setting up your own repo to distribute
packages or faking satifying dependencies using equivs.
{quote}
I understand what you're saying, but from a Debian packaging perspective, the
Suggests relationship is more of a hack than providing a satisfiable dependency
(either OpenJDK, or a proper Sun JDK Debian package).
> Remove openjdk-6-jre Cassandra APT dependencies
> -----------------------------------------------
>
> Key: CASSANDRA-4498
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4498
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Terrance Shepherd
> Assignee: paul cannon
> Priority: Minor
> Labels: debian
> Fix For: 1.1.4, 1.2
>
> Attachments: apache_cassandra_Packages.diff
>
>
> As it is well known the recommended jre for Cassandra is sun java 1.6 but at
> this point that package no longer in the debian or ubuntu apt repos. In order
> to run Cassandra with the sun java 1.6 jre it must be installed manually with
> out the repos. Because of this when you install cassandra via the apache or
> datastax apt repos it must also install openjdk-6-jre even though sun java
> 1.6 jre is already installed.
> I would suggest that the java apt dependencies be removed from the Depends
> field in package configuration and move to either the Recommends or Suggests
> field so that way openjdk is not being downloaded when not necessary and
> possibly interfering with a be pre-installed jre
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira