Package doesn't install, this is the error message:
unseen@MrSlave:~$ sudo aptitude upgrade
Resolving dependencies...
The following partially installed packages will be configured:
ca-certificates-java
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up ca-certificates-java (20110426) ...
Exception in thread "main" java.security.ProviderException: Could not initialize NSS
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:201)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList.getService(ProviderList.java:330)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
at java.security.Security.getImpl(Security.java:696)
at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130)
at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121)
at sun.security.x509.AlgorithmId.<init>(AlgorithmId.java:114)
at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381)
at sun.security.x509.X509Key.parse(X509Key.java:168)
at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:169)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747)
at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:196)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322)
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
at java.security.KeyStore.load(KeyStore.java:1201)
at UpdateCertificates.createKeyStore(UpdateCertificates.java:65)
at UpdateCertificates.main(UpdateCertificates.java:51)
Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
at sun.security.pkcs11.Secmod.initialize(Secmod.java:186)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:197)
... 31 more
dpkg: error processing ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ca-certificates-java (20110426) ...
Exception in thread "main" java.security.ProviderException: Could not initialize NSS
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:201)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:262)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:244)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:224)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList.getService(ProviderList.java:330)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
at java.security.Security.getImpl(Security.java:696)
at java.security.AlgorithmParameters.getInstance(AlgorithmParameters.java:130)
at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:121)
at sun.security.x509.AlgorithmId.<init>(AlgorithmId.java:114)
at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:381)
at sun.security.x509.X509Key.parse(X509Key.java:168)
at sun.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:75)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:705)
at sun.security.x509.X509CertInfo.<init>(X509CertInfo.java:169)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1747)
at sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:196)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:107)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:322)
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:763)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
at java.security.KeyStore.load(KeyStore.java:1201)
at UpdateCertificates.createKeyStore(UpdateCertificates.java:65)
at UpdateCertificates.main(UpdateCertificates.java:51)
Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
at sun.security.pkcs11.Secmod.initialize(Secmod.java:186)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:197)
... 31 more
/var/lib/dpkg/info/ca-certificates-java.postinst: line 31: echo: write error: Broken pipe
dpkg: error processing ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificates-java
unseen@MrSlave:~$
ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: ca-certificates-java 20110426
ProcVersionSignature: Ubuntu 2.6.39-1.6-generic 2.6.39-rc6
Uname: Linux 2.6.39-1-generic x86_64
NonfreeKernelModules: nvidia
AptOrdering:
lintian: Remove
libipc-run-perl: Remove
libio-pty-perl: Remove
ca-certificates-java: Configure
Architecture: amd64
Date: Sat May 7 21:23:17 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
SourcePackage: ca-certificates-java
Title: package ca-certificates-java 20110426 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to oneiric on 2011-04-09 (27 days ago)
Binary package hint: ca-certificates -java
Package doesn't install, this is the error message:
unseen@MrSlave:~$ sudo aptitude upgrade es-java -java (20110426) ... ProviderExcepti on: Could not initialize NSS pkcs11. SunPKCS11. <init>( SunPKCS11. java:201) pkcs11. SunPKCS11. <init>( SunPKCS11. java:103) NativeConstruct orAccessorImpl. newInstance0( Native Method) NativeConstruct orAccessorImpl. newInstance( NativeConstruct orAccessorImpl. java:57) DelegatingConst ructorAccessorI mpl.newInstance (DelegatingCons tructorAccessor Impl.java: 45) reflect. Constructor. newInstance( Constructor. java:532) jca.ProviderCon fig$3.run( ProviderConfig. java:262) jca.ProviderCon fig$3.run( ProviderConfig. java:244) AccessControlle r.doPrivileged( Native Method) jca.ProviderCon fig.doLoadProvi der(ProviderCon fig.java: 244) jca.ProviderCon fig.getProvider (ProviderConfig .java:224) jca.ProviderLis t.getProvider( ProviderList. java:232) jca.ProviderLis t.getService( ProviderList. java:330) jca.GetInstance .getInstance( GetInstance. java:157) Security. getImpl( Security. java:696) AlgorithmParame ters.getInstanc e(AlgorithmPara meters. java:130) x509.AlgorithmI d.decodeParams( AlgorithmId. java:121) x509.AlgorithmI d.<init> (AlgorithmId. java:114) x509.AlgorithmI d.parse( AlgorithmId. java:381) x509.X509Key. parse(X509Key. java:168) x509.Certificat eX509Key. <init>( CertificateX509 Key.java: 75) x509.X509CertIn fo.parse( X509CertInfo. java:705) x509.X509CertIn fo.<init> (X509CertInfo. java:169) x509.X509CertIm pl.parse( X509CertImpl. java:1747) x509.X509CertIm pl.<init> (X509CertImpl. java:196) provider. X509Factory. engineGenerateC ertificate( X509Factory. java:107) cert.Certificat eFactory. generateCertifi cate(Certificat eFactory. java:322) provider. JavaKeyStore. engineLoad( JavaKeyStore. java:763) provider. JavaKeyStore$ JKS.engineLoad( JavaKeyStore. java:55) KeyStore. load(KeyStore. java:1201) tes.createKeySt ore(UpdateCerti ficates. java:65) tes.main( UpdateCertifica tes.java: 51) FileNotFoundExc eption: /usr/lib/libnss3.so pkcs11. Secmod. initialize( Secmod. java:186) pkcs11. SunPKCS11. <init>( SunPKCS11. java:197) -java (--configure): s-java -java (20110426) ... ProviderExcepti on: Could not initialize NSS pkcs11. SunPKCS11. <init>( SunPKCS11. java:201) pkcs11. SunPKCS11. <init>( SunPKCS11. java:103) NativeConstruct orAccessorImpl. newInstance0( Native Method) NativeConstruct orAccessorImpl. newInstance( NativeConstruct orAccessorImpl. java:57) DelegatingConst ructorAccessorI mpl.newInstance (DelegatingCons tructorAccessor Impl.java: 45) reflect. Constructor. newInstance( Constructor. java:532) jca.ProviderCon fig$3.run( ProviderConfig. java:262) jca.ProviderCon fig$3.run( ProviderConfig. java:244) AccessControlle r.doPrivileged( Native Method) jca.ProviderCon fig.doLoadProvi der(ProviderCon fig.java: 244) jca.ProviderCon fig.getProvider (ProviderConfig .java:224) jca.ProviderLis t.getProvider( ProviderList. java:232) jca.ProviderLis t.getService( ProviderList. java:330) jca.GetInstance .getInstance( GetInstance. java:157) Security. getImpl( Security. java:696) AlgorithmParame ters.getInstanc e(AlgorithmPara meters. java:130) x509.AlgorithmI d.decodeParams( AlgorithmId. java:121) x509.AlgorithmI d.<init> (AlgorithmId. java:114) x509.AlgorithmI d.parse( AlgorithmId. java:381) x509.X509Key. parse(X509Key. java:168) x509.Certificat eX509Key. <init>( CertificateX509 Key.java: 75) x509.X509CertIn fo.parse( X509CertInfo. java:705) x509.X509CertIn fo.<init> (X509CertInfo. java:169) x509.X509CertIm pl.parse( X509CertImpl. java:1747) x509.X509CertIm pl.<init> (X509CertImpl. java:196) provider. X509Factory. engineGenerateC ertificate( X509Factory. java:107) cert.Certificat eFactory. generateCertifi cate(Certificat eFactory. java:322) provider. JavaKeyStore. engineLoad( JavaKeyStore. java:763) provider. JavaKeyStore$ JKS.engineLoad( JavaKeyStore. java:55) KeyStore. load(KeyStore. java:1201) tes.createKeySt ore(UpdateCerti ficates. java:65) tes.main( UpdateCertifica tes.java: 51) FileNotFoundExc eption: /usr/lib/libnss3.so pkcs11. Secmod. initialize( Secmod. java:186) pkcs11. SunPKCS11. <init>( SunPKCS11. java:197) dpkg/info/ ca-certificates -java.postinst: line 31: echo: write error: Broken pipe -java (--configure): s-java
Resolving dependencies...
The following partially installed packages will be configured:
ca-certificat
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up ca-certificates
Exception in thread "main" java.security.
at sun.security.
at sun.security.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at sun.security.
at sun.security.
at java.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at java.security.
at java.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at java.security.
at sun.security.
at sun.security.
at java.security.
at UpdateCertifica
at UpdateCertifica
Caused by: java.io.
at sun.security.
at sun.security.
... 31 more
dpkg: error processing ca-certificates
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificate
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ca-certificates
Exception in thread "main" java.security.
at sun.security.
at sun.security.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at sun.security.
at sun.security.
at java.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at java.security.
at java.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at java.security.
at sun.security.
at sun.security.
at java.security.
at UpdateCertifica
at UpdateCertifica
Caused by: java.io.
at sun.security.
at sun.security.
... 31 more
/var/lib/
dpkg: error processing ca-certificates
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificate
unseen@MrSlave:~$
ProblemType: Package -java 20110426 ature: Ubuntu 2.6.39-1.6-generic 2.6.39-rc6 dules: nvidia s-java: Configure ture: all -java -java 20110426 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
DistroRelease: Ubuntu 11.10
Package: ca-certificates
ProcVersionSign
Uname: Linux 2.6.39-1-generic x86_64
NonfreeKernelMo
AptOrdering:
lintian: Remove
libipc-run-perl: Remove
libio-pty-perl: Remove
ca-certificate
Architecture: amd64
Date: Sat May 7 21:23:17 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitec
SourcePackage: ca-certificates
Title: package ca-certificates
UpgradeStatus: Upgraded to oneiric on 2011-04-09 (27 days ago)