← Back to team overview

openjdk team mailing list archive

[Bug 1482862] Re: package openjdk-6-jre-headless 6b24-1.11.1-4ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

 

Not exactly sure what's going wrong, but it seems like you should try:

  sudo apt-get install --reinstall openjdk-6-jre-headless openjdk-7-jre-
headless

as essential files appear to be missing from both of those packages.

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

Title:
  package openjdk-6-jre-headless 6b24-1.11.1-4ubuntu2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

Status in openjdk-6 package in Ubuntu:
  New

Bug description:
  NEED TO UPDATE MOZILLA FIREFOX12.0 CANONICAL V1.0.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: openjdk-6-jre-headless 6b36-1.13.8-0ubuntu1~12.04
  ProcVersionSignature: Ubuntu 3.2.0-55.85-generic-pae 3.2.51
  Uname: Linux 3.2.0-55-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  Date: Sat Aug  8 17:10:07 2015
  DuplicateSignature:
   Setting up openjdk-7-jre-headless (7~u3-2.1.1~pre1-1ubuntu2) ...
   update-alternatives: error: alternative path /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java doesn't exist.
   dpkg: error processing openjdk-7-jre-headless (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  SourcePackage: openjdk-6
  Title: package openjdk-6-jre-headless 6b24-1.11.1-4ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

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