← Back to team overview

openjdk team mailing list archive

[Bug 905808] Re: java alternatives missing after upgrade to precise

 

running the postinst configure script for the jdk packages seems to have
reestablished the alternatives.  I'm not sure how it got this way.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/905808

Title:
  java alternatives missing after upgrade to precise

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  after upgrading to precise, the java alternatives symlinks seem to be
  broken, and not fixed by update-java-alternatives, which complains:

  mbp@joy% sudo update-java-alternatives -v -s java-1.6.0-openjdk-amd64
  resetting java alternatives
  update-alternatives: error: no alternatives for appletviewer.
  update-alternatives: error: no alternatives for apt.
  update-alternatives: error: no alternatives for extcheck.
  update-alternatives: error: no alternatives for idlj.
  update-alternatives: error: no alternatives for jarsigner.
  update-alternatives: error: no alternatives for java.
  update-alternatives: error: no alternatives for javac.
  ....

  (or similarly with --auto)

  the binary files do exist and the .jinfo file seems valid.  It is true
  there is no java alternative in /etc/alternatives.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openjdk-6-jdk 6b24~pre2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-4.10-generic 3.2.0-rc5
  Uname: Linux 3.2.0-4-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Sun Dec 18 08:27:26 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  SourcePackage: openjdk-6
  UpgradeStatus: Upgraded to precise on 2011-12-15 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/905808/+subscriptions



References