alternatives are not updated to new paths

Bug #887077 reported by Sergey Basalaev
82
This bug affects 18 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
High
Canonical Foundations Team
Precise
Fix Released
High
Canonical Foundations Team

Bug Description

After upgrading openjdk-6 packages to version 6b23~pre11-1ubuntu2 path to the java executables changed from /usr/lib/jvm/java-6-openjdk to /usr/lib/jvm/java-6-openjdk-i386. However alternatives are not updated and still point to the old location.

tags: added: precise
Revision history for this message
Martin Pitt (pitti) wrote :

I just noticed the same on amd64. After the oneiric->precise upgrade, I'm left with

  /etc/alternatives/javac -> /usr/lib/jvm/java-6-openjdk/bin/javac

but the binary is in /usr/lib/jvm/java-6-openjdk-amd64/bin/javac

I purged and reinstalled openjdk-6-jdk, the alternatives are correct now. So this needs fixing on upgrade.

Changed in openjdk-6 (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
importance: Undecided → High
milestone: none → ubuntu-12.04-beta-1
status: New → Confirmed
Martin Pitt (pitti)
tags: added: rls-mgr-p-tracking upgrade
Changed in openjdk-6 (Ubuntu Precise):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b24-1.11-0ubuntu1

---------------
openjdk-6 (6b24-1.11-0ubuntu1) precise; urgency=low

  * IcedTea6 1.11 release.

  [ Luke Yelavich ]
  * Use java-atk-wrapper instead of java-access-bridge for accessibility.
    LP: #790240.

  [ Matthias Klose ]
  * nss.cfg: Remove nssLibraryDirectory property, rely on the system
    library path.
  * Make the java.policy file multi-arch installable. LP: #924096.
  * Don't install desktop and menu files for multiarch builds.
    Needs a better solution. Closes: #658321
  * Pass -n to gzip when compressing manpages to be Multi-Arch: same safe.
  * Don't install an alternative for the deprecated apt tool.
  * Make the upgrade from a non-multiarch installation location more
    robust; don't depend on version numbers, but check the path of the
    alternatives. LP: #887077.
  * Always use the internal copy of liblcms1; only OpenJDK 7 has the
    support to use a system liblcms2.
  * Build jamvm on powerpc.
 -- Matthias Klose <email address hidden> Fri, 03 Feb 2012 01:20:59 +0100

Changed in openjdk-6 (Ubuntu Precise):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.