openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #02888
[Bug 511143] [NEW] package openjdk-6-jre-headless 6b12-0ubuntu6.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Public bug reported:
Description: Ubuntu 8.10
Release: 8.10
uname -r: 2.6.31.11-grsec (2.6.31.11 Kernel with grsecurity patch installed)
The error occurred at the end of the installation procedure of Ant, through the apt-get install ant, that required the installation of a few other packages, between them the following ones that failed to properly install:
ca-certificates-java
openjdk-6-jre-headless
openjdk-6-jre
openjdk-6-jdk
default-jre
default-jdk
The errors were the following:
error adding telesec.de/deutsche-telekom-root-ca-2.crt
/var/lib/dpkg/info/ca-certificates-java.postinst: line 39: 10235 Segmentation fault LANG=C LC_ALL=C keytool -importcert -trustcacerts -keystore $KEYSTORE -noprompt -storepass "$storepass" -alias "$alias" -file "$cacertdir/$pem"
error adding gouv.fr/cert_igca_dsa.crt
/var/lib/dpkg/info/ca-certificates-java.postinst: line 39: 10242 Segmentation fault LANG=C LC_ALL=C keytool -importcert -trustcacerts -keystore $KEYSTORE -noprompt -storepass "$storepass" -alias "$alias" -file "$cacertdir/$pem"
error adding gouv.fr/cert_igca_rsa.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; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing openjdk-6-jre-headless (--configure):
dependency problems - leaving unconfigured
...and more of the type, for each certificate and for each package
mentioned earlier. It finished with the following line, and a crash
notice that lead to this report.
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: openjdk-6-jre-headless 6b12-0ubuntu6.6
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b12-0ubuntu6.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.31.11-grsec i686
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-package
--
package openjdk-6-jre-headless 6b12-0ubuntu6.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/511143
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” package in Ubuntu: New
Bug description:
Description: Ubuntu 8.10
Release: 8.10
uname -r: 2.6.31.11-grsec (2.6.31.11 Kernel with grsecurity patch installed)
The error occurred at the end of the installation procedure of Ant, through the apt-get install ant, that required the installation of a few other packages, between them the following ones that failed to properly install:
ca-certificates-java
openjdk-6-jre-headless
openjdk-6-jre
openjdk-6-jdk
default-jre
default-jdk
The errors were the following:
error adding telesec.de/deutsche-telekom-root-ca-2.crt
/var/lib/dpkg/info/ca-certificates-java.postinst: line 39: 10235 Segmentation fault LANG=C LC_ALL=C keytool -importcert -trustcacerts -keystore $KEYSTORE -noprompt -storepass "$storepass" -alias "$alias" -file "$cacertdir/$pem"
error adding gouv.fr/cert_igca_dsa.crt
/var/lib/dpkg/info/ca-certificates-java.postinst: line 39: 10242 Segmentation fault LANG=C LC_ALL=C keytool -importcert -trustcacerts -keystore $KEYSTORE -noprompt -storepass "$storepass" -alias "$alias" -file "$cacertdir/$pem"
error adding gouv.fr/cert_igca_rsa.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; however:
Package ca-certificates-java is not configured yet.
dpkg: error processing openjdk-6-jre-headless (--configure):
dependency problems - leaving unconfigured
...and more of the type, for each certificate and for each package mentioned earlier. It finished with the following line, and a crash notice that lead to this report.
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: openjdk-6-jre-headless 6b12-0ubuntu6.6
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b12-0ubuntu6.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.31.11-grsec i686
Follow ups
References