← Back to team overview

openjdk team mailing list archive

[Bug 1084935] [NEW] /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64 symlink confuses ca-certificates-java

 

Public bug reported:

I’m now seeing this error message on ca-certificates upgrades:

Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
sed: can't read /etc/java-6-openjdk/security/nss.cfg: No such file or directory
E: /etc/ca-certificates/update.d/jks-keystore exited with code 2.
done.

/etc/ca-certificates/update.d/jks-keystore tests for the existence of
/usr/lib/jvm/java-6-openjdk/bin/java to detect whether to use openjdk 6,
but the /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64 symlink
fools this test into concluding that openjdk 6 is installed when it
isn’t.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: default-jre-headless 1:1.7-43ubuntu3
ProcVersionSignature: Ubuntu 3.7.0-4.12~lp1083980v1-generic 3.7.0-rc7
Uname: Linux 3.7.0-4-generic x86_64
ApportVersion: 2.6.2-0ubuntu5
Architecture: amd64
Date: Fri Nov 30 02:04:57 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-12-05 (725 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
MarkForUpload: True
SourcePackage: java-common
UpgradeStatus: Upgraded to raring on 2012-11-15 (14 days ago)

** Affects: ca-certificates-java (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: java-common (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

** Also affects: ca-certificates-java (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  I’m now seeing this error message on ca-certificates upgrades:
  
  Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d....
  sed: can't read /etc/java-6-openjdk/security/nss.cfg: No such file or directory
  E: /etc/ca-certificates/update.d/jks-keystore exited with code 2.
  done.
  
  /etc/ca-certificates/update.d/jks-keystore tests for the existence of
  /usr/lib/jvm/java-6-openjdk/bin/java to detect whether to use openjdk 6,
- but the /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64 fools
- this test into concluding that openjdk 6 is installed when it isn’t.
+ but the /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64 symlink
+ fools this test into concluding that openjdk 6 is installed when it
+ isn’t.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: default-jre-headless 1:1.7-43ubuntu3
  ProcVersionSignature: Ubuntu 3.7.0-4.12~lp1083980v1-generic 3.7.0-rc7
  Uname: Linux 3.7.0-4-generic x86_64
  ApportVersion: 2.6.2-0ubuntu5
  Architecture: amd64
  Date: Fri Nov 30 02:04:57 2012
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2010-12-05 (725 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
  MarkForUpload: True
  SourcePackage: java-common
  UpgradeStatus: Upgraded to raring on 2012-11-15 (14 days ago)

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

Title:
  /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64 symlink
  confuses ca-certificates-java

Status in “ca-certificates-java” package in Ubuntu:
  New
Status in “java-common” package in Ubuntu:
  New

Bug description:
  I’m now seeing this error message on ca-certificates upgrades:

  Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d....
  sed: can't read /etc/java-6-openjdk/security/nss.cfg: No such file or directory
  E: /etc/ca-certificates/update.d/jks-keystore exited with code 2.
  done.

  /etc/ca-certificates/update.d/jks-keystore tests for the existence of
  /usr/lib/jvm/java-6-openjdk/bin/java to detect whether to use openjdk
  6, but the /usr/lib/jvm/java-6-openjdk → java-1.7.0-openjdk-amd64
  symlink fools this test into concluding that openjdk 6 is installed
  when it isn’t.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: default-jre-headless 1:1.7-43ubuntu3
  ProcVersionSignature: Ubuntu 3.7.0-4.12~lp1083980v1-generic 3.7.0-rc7
  Uname: Linux 3.7.0-4-generic x86_64
  ApportVersion: 2.6.2-0ubuntu5
  Architecture: amd64
  Date: Fri Nov 30 02:04:57 2012
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2010-12-05 (725 days ago)
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
  MarkForUpload: True
  SourcePackage: java-common
  UpgradeStatus: Upgraded to raring on 2012-11-15 (14 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1084935/+subscriptions


Follow ups

References