← Back to team overview

openjdk team mailing list archive

[Bug 924957] Re: Java fails after upgrade to precise

 

I can confirm this; I followed this procedure to re-produce in a clean,
up-to-date Oneiric schroot:

apt-get install jenkins
do-release-upgrade -d

After the upgrade all of the alternatives links related to openjdk-6 are
broken:

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 jar.
update-alternatives: error: no alternatives for jarsigner.
update-alternatives: error: no alternatives for java.
update-alternatives: error: no alternatives for javac.
update-alternatives: error: no alternatives for javadoc.
update-alternatives: error: no alternatives for javah.
update-alternatives: error: no alternatives for javap.
update-alternatives: error: no alternatives for jconsole.
update-alternatives: error: no alternatives for jdb.
update-alternatives: error: no alternatives for jexec.
update-alternatives: error: no alternatives for jhat.
update-alternatives: error: no alternatives for jinfo.
update-alternatives: error: no alternatives for jmap.
update-alternatives: error: no alternatives for jps.
update-alternatives: error: no alternatives for jrunscript.
update-alternatives: error: no alternatives for jsadebugd.
update-alternatives: error: no alternatives for jstack.
update-alternatives: error: no alternatives for jstat.
update-alternatives: error: no alternatives for jstatd.
update-alternatives: error: no alternatives for keytool.
update-alternatives: error: no alternatives for mozilla-javaplugin.so.
update-alternatives: error: no alternatives for native2ascii.
update-alternatives: error: no alternatives for orbd.
update-alternatives: error: no alternatives for pack200.
update-alternatives: error: no alternatives for policytool.
update-alternatives: error: no alternatives for rmic.
update-alternatives: error: no alternatives for rmid.
update-alternatives: error: no alternatives for rmiregistry.
update-alternatives: error: no alternatives for schemagen.
update-alternatives: error: no alternatives for serialver.
update-alternatives: error: no alternatives for servertool.
update-alternatives: error: no alternatives for tnameserv.
update-alternatives: error: no alternatives for unpack200.
update-alternatives: error: no alternatives for wsgen.
update-alternatives: error: no alternatives for wsimport.
update-alternatives: error: no alternatives for xjc.
update-alternatives: error: no alternatives for java.
update-alternatives: error: no alternatives for jexec.
update-alternatives: error: no alternatives for keytool.
update-alternatives: error: no alternatives for orbd.
update-alternatives: error: no alternatives for pack200.
update-alternatives: error: no alternatives for rmid.
update-alternatives: error: no alternatives for rmiregistry.
update-alternatives: error: no alternatives for servertool.
update-alternatives: error: no alternatives for tnameserv.
update-alternatives: error: no alternatives for unpack200.
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/appletviewer
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/apt
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/extcheck
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/idlj
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jar
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jarsigner
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/javac
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/javadoc
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/javah
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/javap
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jconsole
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jdb
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jhat
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jinfo
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jmap
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jps
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jrunscript
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jsadebugd
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jstack
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jstat
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/jstatd
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/native2ascii
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/rmic
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/schemagen
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/serialver
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/wsgen
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/wsimport
update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/bin/xjc
update-alternatives: error: no alternatives for policytool.
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/IcedTeaPl

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

Title:
  Java fails after upgrade to precise

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

Bug description:
  Java doesn't work after an upgrade from Oneiric to precise.

  To reproduce:

  Install baseline Oneiric
  Install jenkins:
    apt-get install jenkins
  Upgrade to Precise

  To fix it, I installed openjdk-7-jre, which solved the problem but
  also left openjdk-6 installed

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openjdk-6-jre 6b24~pre4-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-12.20-generic-pae 3.2.2
  Uname: Linux 3.2.0-12-generic-pae i686
  ApportVersion: 1.91-0ubuntu1
  Architecture: i386
  Date: Wed Feb  1 10:14:21 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: openjdk-6
  UpgradeStatus: Upgraded to precise on 2012-01-31 (1 days ago)

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



References