rhino should depend on java2-runtime-headless

Bug #249598 reported by Thierry Carrez on 2008-07-17
Affects Status Importance Assigned to Milestone
rhino (Ubuntu)
Thierry Carrez

Bug Description

Binary package hint: rhino

rhino-1.7R1-1 in intrepid currently depends on "java-gcj-compat | java1-runtime | java2-runtime"
It should depend on "default-jre | java1-runtime-headless | java2-runtime-headless" instead.

This allows to avoid bug 249201, where installing openjdk-6-jre-headless pulls rhino, which pulls java-gcj-compat, which pulls X stuff in.
I'll post a patch here in a few.

Thierry Carrez (ttx) on 2008-07-17
Changed in rhino:
assignee: nobody → tcarrez
Thierry Carrez (ttx) wrote :

Here is a debdiff that fixes the Depends and implements the new default-jdk virtual build-dep.

Thierry Carrez (ttx) on 2008-07-30
Changed in rhino:
importance: Undecided → Medium
status: New → Triaged
Thierry Carrez (ttx) wrote :

New debdiff that applies to the recently-released -ubuntu1 version.
Replaces depends to use the -headless flavors, in order to avoid jre-headless -> rhino -> jre dependency.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhino - 1.7R1-1ubuntu2

rhino (1.7R1-1ubuntu2) intrepid; urgency=low

  * Depend on default-jre-headless (fixes LP: #249598)

 -- Thierry Carrez <email address hidden> Thu, 31 Jul 2008 10:38:13 +0200

Changed in rhino:
status: Triaged → Fix Released
dukat (dukat) wrote :

Will there be a fix for Ubuntu 8.04 LTS? It seem for me natural to stay for server setups on the latest LTS and don't upgrade to the next non-LTS version.

On my up-do-date headless server LTS, installing openjdk-headless still pulls the whole X-stuff.

Matthias Klose (doko) on 2008-10-13
Changed in rhino:
importance: Undecided → Low
status: New → In Progress
Jonathan Riddell (jr) wrote :

Accepted into hardy-proposed, please test.

dukat (dukat) wrote :

How can I test? Did an apt-get update and tried to install, but this version still pulls all X. So, where do I find the test candidate?

dukat (dukat) wrote :

My bad. I found out how to enable hardy-proposed. And it seem to be ok now:

> sudo apt-get install openjdk-6-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  java-common libaccess-bridge-java libcupsys2 libfreetype6 liblcms1 openjdk-6-jre-lib rhino
Suggested packages:
  equivs cupsys-common libfreetype6-dev liblcms-utils sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-bengali-fonts ttf-dejavu-core ttf-indic-fonts-core ttf-kannada-fonts
  ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-oriya-fonts ttf-telugu-fonts ttf-wqy-zenhei rhino-doc
Recommended packages:
  ca-certificates-java libnss-mdns tzdata-java
The following NEW packages will be installed:
  java-common libaccess-bridge-java libcupsys2 libfreetype6 liblcms1 openjdk-6-jre-headless openjdk-6-jre-lib rhino
0 upgraded, 8 newly installed, 0 to remove and 36 not upgraded.
Need to get 30.3MB of archives.
After this operation, 83.4MB of additional disk space will be used.
Do you want to continue [Y/n]?

Luca Falavigna (dktrkranz) wrote :

Package in hardy-proposed no longer installs X related packages.

Changed in rhino:
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in rhino:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers