← Back to team overview

openjdk team mailing list archive

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

 

Thank you for using Ubuntu and reporting a bug.

I am unable to reproduce this. I tried various ways to reproduce this,
all resulting in /etc/ssl/certs/java/cacerts in the end. Specifically:

* Install 20110912ubuntu3 - upgrade to 20110912ubuntu3.2: ok
* Install 20110912ubuntu3 - upgrade to 20110912ubuntu3.1 - upgrade to 20110912ubuntu3.2: ok
* Install 20100412 (what is in 11.04; failed on install, but cacerts still there) - upgrade to 20110912ubuntu3 - upgrade to 20110912ubuntu3.2: ok
* Install 20100412 (what is in 11.04; failed on install, but cacerts still there) - upgrade to 20100412ubuntu0.11.04.1 (failed on install, but cacerts still there) - upgrade to 20110912ubuntu3.2: ok
* Install 20110912ubuntu3 - perform 'rm /etc/ssl/certs/java/cacerts' - upgrade to 20110912ubuntu3.2: ok

Before installing an earlier release I would do 'sudo dpkg --purge
--force-depends ca-certificates-java' and verify that
/etc/ssl/certs/java/cacerts no longer exists.

Can you detail the exact steps to reproduce? Could your disk be full,
have filesystem errors or somehow was remounted ro?

FYI, this should probably get your system back in working order:
$ sudo dpkg --purge --force-depends ca-certificates-java ; sudo apt-get install ca-certificates-java

** Changed in: ca-certificates-java (Ubuntu)
       Status: New => Incomplete

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