EdgeCase
EdgeCase

Reputation: 4827

Grails on Ubuntu 12.10

I am installing Grails on Ubuntu 12.10, using the instructions here, but an getting an error on the 3rd step, as outlines below.

The error I get is shown below. I have the Sun JDK installed, and JAVA_HOME is set, and JAVA_HOME/bin is on the path.

Can someone suggest things to try to resolve this?

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

Upvotes: 1

Views: 1165

Answers (2)

user989996
user989996

Reputation: 31

YES please remove the PPA instructions with GVM, I wasted a lot of time before I found this

Upvotes: 0

Burt Beckwith
Burt Beckwith

Reputation: 75681

We need to remove those instructions from the site since the PPA isn't being maintained. Use http://gvmtool.net/ instead.

Upvotes: 2

Related Questions