package openjdk-6-jre-headless 6b22-1.10.1-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2

Bug #777233 reported by Mariano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Fix Released
Undecided
Mariano

Bug Description

I was just upgrading. I may previously moved some links making java point to sun jvm, but it was some time before.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: openjdk-6-jre-headless 6b22-1.10.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Wed May 4 13:24:53 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: openjdk-6
Title: package openjdk-6-jre-headless 6b22-1.10.1-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to natty on 2011-05-04 (0 days ago)

Revision history for this message
Mariano (noinflection) wrote :
Revision history for this message
Mariano (noinflection) wrote :

Mine problem, i had replaced /etc/alternatives/java with a binary executable file (not a link) so readlink failed during the preprocess script. i was able to fix it by removing it. i think if i restaured it to a link pointing to /usr/lib/jvm/java-6-openjdk/bin/java it would have made the job.

Changed in openjdk-6 (Ubuntu):
assignee: nobody → Mariano (noinflection)
status: New → Fix Committed
Revision history for this message
Mariano (noinflection) wrote :

am i able to close this bug?

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

Other bug subscribers

Remote bug watches

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