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
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-
ProcVersionSign
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelMo
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-
UpgradeStatus: Upgraded to natty on 2011-05-04 (0 days ago)
Mine problem, i had replaced /etc/alternativ es/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.