← Back to team overview

openjdk team mailing list archive

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

 

I can say that if I do this:
$ rm /etc/ssl/certs/java/cacerts
$ sudo apt-get install --reinstall ca-certificates-java

That /etc/ssl/certs/java/cacerts is *not* regenerated, but that is
intended behavior from the packaging. Is it possible you accidentally
removed /etc/ssl/certs/java/cacerts when 20110912ubuntu3.2 was
installed? If so, perform the last command I mentioned in comment #1 and
it should be all fixed up.

-- 
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:
  Incomplete

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