← Back to team overview

openjdk team mailing list archive

[Bug 983302] Re: ca-certificates-java fails to install java cacerts on oneiric

 

I haven't been able to reproduce this issue, but just want to mention
that similar ones have been reported where it can be triggered by
installing openjdk-8-jre-headless 8 (bug 1396760), or maven toghether
with openjdk-8-jdk (bug 1406483).

Looks like it is possible to end up in a situation where it attempts to
run the ca-certificates-java postinstall before java has actually been
installed.

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

Title:
  ca-certificates-java fails to install java cacerts on oneiric

Status in ca-certificates-java package in Ubuntu:
  New

Bug description:
  What I expected:
  ca-certificates-java 20110912ubuntu3.2 should install /etc/ssl/certs/java/cacerts

  What happened:
  ca-certificates-java did not install /etc/ssl/certs/java/cacerts, leaving the JVM's symlink dangling.
  /usr/lib/jvm/java-7-openjdk-i386/jre/lib/security/cacerts -> /etc/ssl/certs/java/cacerts

  This leaves Java applications that depend on CA certs broken, usually
  with a "the trustAnchors parameter must be non-empty".

  Apt-get install log:

  root:~# apt-get --reinstall install ca-certificates-java 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
  Need to get 0 B/8,434 B of archives.
  After this operation, 0 B of additional disk space will be used.
  (Reading database ... 171214 files and directories currently installed.)
  Preparing to replace ca-certificates-java 20110912ubuntu3.2 (using .../ca-certificates-java_20110912ubuntu3.2_all.deb) ...
  Unpacking replacement ca-certificates-java ...
  Setting up ca-certificates-java (20110912ubuntu3.2) ...

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


References