← Back to team overview

openjdk team mailing list archive

Re: [Bug 289091] Re: package ca-certificates-java 20080712ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

 

AnFuShu wrote:
> On Mon, Oct 27, 2008 at 9:20 AM, Matthias Klose <doko@xxxxxxxxxx> wrote:
>
>   
>> That is something else; the original report was about missing
>> certificate files on the file system, but (still) mentioned in /etc/ca-
>> certificates.conf.
>>
>> please could you attach the files /etc/ssl/certs/java/cacerts and /etc
>> /ca-certificates.conf ?
>>
>> --
>> package ca-certificates-java 20080712ubuntu2 failed to install/upgrade:
>> subprocess post-installation script returned error exit status 1
>> https://bugs.launchpad.net/bugs/289091
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in "ca-certificates-java" source package in Ubuntu: Fix Released
>> Status in ca-certificates-java in Ubuntu Intrepid: Fix Released
>> Status in "ca-certificates-java" source package in Debian: Unknown
>>
>> Bug description:
>> Binary package hint: ca-certificates-java
>>
>> In general, the "keytool" is erroring out when it trys to add certificates
>> during the upgrade process.
>>
>> This is returned by apt-get update:
>> Setting up ca-certificates-java (20080712ubuntu2) ...
>> creating /etc/ssl/certs/java/cacerts...
>> keytool error: java.io.FileNotFoundException:
>> /usr/share/ca-certificates/mozilla/Verisign_Class_1_Public_Primary_OCSP_Responder.crt
>> (No such file or directory)
>>  error adding mozilla/Verisign_Class_1_Public_Primary_OCSP_Responder.crt
>> keytool error: java.io.FileNotFoundException:
>> /usr/share/ca-certificates/mozilla/Verisign_Class_2_Public_Primary_OCSP_Responder.crt
>> (No such file or directory)
>>  error adding mozilla/Verisign_Class_2_Public_Primary_OCSP_Responder.crt
>> keytool error: java.io.FileNotFoundException:
>> /usr/share/ca-certificates/mozilla/Verisign_Class_3_Public_Primary_OCSP_Responder.crt
>> (No such file or directory)
>>  error adding mozilla/Verisign_Class_3_Public_Primary_OCSP_Responder.crt
>> keytool error: java.io.FileNotFoundException:
>> /usr/share/ca-certificates/mozilla/Verisign_Secure_Server_OCSP_Responder.crt
>> (No such file or directory)
>>  error adding mozilla/Verisign_Secure_Server_OCSP_Responder.crt
>> keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/
>> spi-inc.org/SPI_CA_2006-cacert.crt (No such file or directory)
>>  error adding spi-inc.org/SPI_CA_2006-cacert.crt
>> keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/
>> spi-inc.org/spi-ca.crt (No such file or directory)
>>  error adding spi-inc.org/spi-ca.crt
>> failed.
>> dpkg: error processing ca-certificates-java (--configure):
>>  subprocess post-installation script returned error exit status 1
>> dpkg: dependency problems prevent configuration of openjdk-6-jre-headless:
>>  openjdk-6-jre-headless depends on ca-certificates-java (>=
>> 20080712ubuntu1); however:
>>  Package ca-certificates-java is not configured yet.
>> dpkg: error processing openjdk-6-jre-headless (--configure):
>>  dependency problems - leaving unconfigured
>> dpkg: dependency problems prevent configuration of openjdk-6-jre:
>>  openjdk-6-jre depends on openjdk-6-jre-headless (>= 6b12-0ubuntu5);
>> however:
>>  Package openjdk-6-jre-headless is not configured yet.
>> dpkg: error processing openjdk-6-jre (--configure):
>>  dependency problems - leaving unconfigured
>> No apport report written because the error message indicates its a followup
>> error from a previous failure.
>>
>>                              No apport report written because the error
>> message indicates its a followup error from a previous failure.
>>
>>  Errors were encountered while processing:
>>  ca-certificates-java
>>  openjdk-6-jre-headless
>>  openjdk-6-jre
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> ProblemType: Package
>> Architecture: amd64
>> DistroRelease: Ubuntu 8.10
>> ErrorMessage: subprocess post-installation script returned error exit
>> status 1
>> NonfreeKernelModules: nvidia
>> Package: ca-certificates-java 20080712ubuntu2
>> PackageArchitecture: all
>> SourcePackage: ca-certificates-java
>> Title: package ca-certificates-java 20080712ubuntu2 failed to
>> install/upgrade: subprocess post-installation script returned error exit
>> status 1
>> Uname: Linux 2.6.27-7-generic x86_64
>>
>>     
>
>   
Hello, As requested find attached files.
Regards John


** Attachment added: "cacerts"
   http://launchpadlibrarian.net/19054616/cacerts

** Attachment added: "ca-certificates.conf"
   http://launchpadlibrarian.net/19054617/ca-certificates.conf

-- 
package ca-certificates-java 20080712ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/289091
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in ubuntu.

Status in “ca-certificates-java” source package in Ubuntu: Fix Released
Status in ca-certificates-java in Ubuntu Intrepid: Fix Released
Status in “ca-certificates-java” source package in Debian: Unknown

Bug description:
Binary package hint: ca-certificates-java

In general, the "keytool" is erroring out when it trys to add certificates during the upgrade process.

This is returned by apt-get update:
Setting up ca-certificates-java (20080712ubuntu2) ...
creating /etc/ssl/certs/java/cacerts...
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/mozilla/Verisign_Class_1_Public_Primary_OCSP_Responder.crt (No such file or directory)
  error adding mozilla/Verisign_Class_1_Public_Primary_OCSP_Responder.crt
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/mozilla/Verisign_Class_2_Public_Primary_OCSP_Responder.crt (No such file or directory)
  error adding mozilla/Verisign_Class_2_Public_Primary_OCSP_Responder.crt
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/mozilla/Verisign_Class_3_Public_Primary_OCSP_Responder.crt (No such file or directory)
  error adding mozilla/Verisign_Class_3_Public_Primary_OCSP_Responder.crt
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/mozilla/Verisign_Secure_Server_OCSP_Responder.crt (No such file or directory)
  error adding mozilla/Verisign_Secure_Server_OCSP_Responder.crt
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/spi-inc.org/SPI_CA_2006-cacert.crt (No such file or directory)
  error adding spi-inc.org/SPI_CA_2006-cacert.crt
keytool error: java.io.FileNotFoundException: /usr/share/ca-certificates/spi-inc.org/spi-ca.crt (No such file or directory)
  error adding spi-inc.org/spi-ca.crt
failed.
dpkg: error processing ca-certificates-java (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openjdk-6-jre-headless:
 openjdk-6-jre-headless depends on ca-certificates-java (>= 20080712ubuntu1); however:
  Package ca-certificates-java is not configured yet.
dpkg: error processing openjdk-6-jre-headless (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openjdk-6-jre:
 openjdk-6-jre depends on openjdk-6-jre-headless (>= 6b12-0ubuntu5); however:
  Package openjdk-6-jre-headless is not configured yet.
dpkg: error processing openjdk-6-jre (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                              Errors were encountered while processing:
 ca-certificates-java
 openjdk-6-jre-headless
 openjdk-6-jre
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: ca-certificates-java 20080712ubuntu2
PackageArchitecture: all
SourcePackage: ca-certificates-java
Title: package ca-certificates-java 20080712ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-7-generic x86_64



References