← Back to team overview

openjdk team mailing list archive

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

 

This bug seems to also affect ubuntu 11.10 amd64.  
I ran into it with the script
  http://code.google.com/p/winezeug/source/browse/trunk/cmake_examples/ex11/test.sh
which does a 'hello, jni' test with a bunch of different jdks.

The workaround there is slightly different because 11.10 isn't multiarch:
sudo /usr/share/debconf/frontend /var/lib/dpkg/info/openjdk-6-jre-headless.postinst configure
etc.

-- 
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:
  Confirmed

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