package openjdk-6-jdk 6b24-1.11.1-4ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I downloaded and manually installed Oracle's latest JDK (version 7) before attempting to install grails. I also manually created a java config with update-alternatives for my Oracle JDK. Dunno if that might have something to do with the problem.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jdk 6b24-1.
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 27 09:14:41 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 2
SourcePackage: openjdk-6
Title: package openjdk-6-jdk 6b24-1.
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Never mind, I found the problem. The openjdk package was trying to add jar as a master alternative, but I had already set up the jar from Oracle's jdk as a slave to java. Everything works fine now.