こちらの手順を使用して Ubuntu 12.10 に Grails をインストールしていますが、以下に示すように 3 番目のステップでエラーが発生します。
- sudo add-apt-repository ppa:groovy-dev/grails
- sudo apt-get update
- sudo apt-get install grails-ppa
私が得るエラーを以下に示します。Sun JDK がインストールされており、JAVA_HOMEが設定されており、JAVA_HOME/binがパス上にあります。
誰かがこれを解決しようとすることを提案できますか?
/home/edgecase> $ sudo apt-get install grails-ppa
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
default-jre-headless:i386 : Depends: openjdk-7-jre-headless:i386 (>= 7~u3-2.1) but it is not going to be installed
openjdk-7-jre:i386 : Depends: openjdk-7-jre-headless:i386 (= 7u7-2.3.2a-1ubuntu1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
/home/edgecase> $ java -version
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)