← Back to team overview

openjdk team mailing list archive

[Bug 305062] Re: package ca-certificates 20080514-0ubuntu1.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 (while running final ldconfig): "keytool: not found"

 

So the problem is that ca-certificates calls a hook out of ca-
certificates-java which accesses keytool in a strange way (due to it
trying to detect if it needs to run one out of three possible binaries).
The attached patch is a band-aid fix so that the hook bails out when
there is currently no suitable keytool available.  It's minimal.

I'll submit another one shortly which first tries to access the
alternative, which might be more robust.

-- 
package ca-certificates 20080514-0ubuntu1.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 (while running final ldconfig): "keytool: not found"
https://bugs.launchpad.net/bugs/305062
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” source package in Ubuntu: Triaged
Status in “ca-certificates-java” source package in Ubuntu: Triaged
Status in “ca-certificates” source package in Debian: New

Bug description:
Binary package hint: ca-certificates

Package brought and installed by the daily update check


ERROR:
Setting up ca-certificates (20080514-0ubuntu1.1) ...
Updating certificates in /etc/ssl/certs....done.
Running hooks in /etc/ca-certificates/update.d....
updating keystore /etc/ssl/certs/java/cacerts...
/etc/ca-certificates/update.d/jks-keystore: 80: keytool: not found
  error adding /etc/ssl/certs/cert_igca_dsa.pem
/etc/ca-certificates/update.d/jks-keystore: 80: keytool: not found
  error adding /etc/ssl/certs/cert_igca_rsa.pem
failed.
dpkg: error processing ca-certificates (--configure):
 subprocess post-installation script returned error exit status 1


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