← Back to team overview

openjdk team mailing list archive

[Bug 881218] Re: openjdk-7-jre depends on openjdk-6-jre

 

For oneiric and later:

A needed fix in ca-certificates-java is to change the dependency line from:
  openjdk-6-jre-headless (>= 6b16-1.6.1-2) | java6-runtime-headless,
to:
  default-jre-headless | java6-runtime-headless

It "works" right now, but this is a correction to the current case as
seen on oneiric, which really should not mention openjdk directly.

The distributed version of openjdk-6 in oneiric base is 6b23~pre10,
which definitely supersedes 6b16 above. (opeiric-updates has
6b23~pre11.) However, if there are concerns about pre-release binaries
causing problems here, default-java packages could depend on >= 6b22
explicitly to ensure that any such packages are upgraded.

===

The proper fix for java-access-bridge is to change the dependency in libaccess-bridge-java from:
  default-jre | openjdk-6-jre | sun-java6-jre
to:
  default-jre | java6-runtime

===

I can produce a patch for this, but is anyone paying attention and
willing to apply it? (hrm, thinking about PPA'ing)

I believe that the libaccess-bridge-java change could be filed upstream,
but I'm not sure about ca-certificates-java off the top of my head.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to java-access-bridge in Ubuntu.
https://bugs.launchpad.net/bugs/881218

Title:
  openjdk-7-jre depends on openjdk-6-jre

Status in “ca-certificates-java” package in Ubuntu:
  Confirmed
Status in “java-access-bridge” package in Ubuntu:
  Confirmed

Bug description:
  There is a circular dependency between openjdk-7-jre and
  openjdk-6-jre. As a result if I install openjdk-7-jdk, openjdk-6-jre
  is installed and if I remove openjdk-6-jre, openjdk-7-jdk is also
  removed.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: openjdk-7-jre 7~b147-2.0~pre6-1ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Tue Oct 25 09:18:52 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   LANGUAGE=en_IN:en
   PATH=(custom, no user)
   LANG=en_IN
   SHELL=/bin/bash
  SourcePackage: openjdk-7
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/881218/+subscriptions



References