← Back to team overview

openjdk team mailing list archive

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

 

Thanks for taking the time to look into this!

I am currently examining my apt log to see what happened. Apparently,
ca-certificates-java failed to install with the following:

Setting up ca-certificates-java (20110912ubuntu3.2.) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 51: java: command not found
done.

This makes sense to me, since I previously did not have java, and I
installed openjdk-7-jre-headless with ca-certificates-java at the same
time. I am currently installing Oneiric i386 Desktop into a VM to try to
reproduce this.

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