[chef] Issue running tomcat cookbook on Ubuntu


Chronological Thread 
  • From: Ricardo Mayerhofer < >
  • To:
  • Subject: [chef] Issue running tomcat cookbook on Ubuntu
  • Date: Tue, 10 Sep 2013 18:08:16 -0300

Hi all,
I'm trying to run the tomcat cookbook (http://community.opscode.com/cookbooks/tomcat) on an Ubuntu box, but I'm getting the following error:

162.209.81.190 Recipe: java::openjdk←[0m
162.209.81.190
162.209.81.190   * bash[update-java-alternatives] action nothing←[0m
162.209.81.190  (skipped due to action :nothing)←[0m
162.209.81.190
162.209.81.190   * package[openjdk-6-jdk] action install←[0m
162.209.81.190 ←[0m
162.209.81.190
162.209.81.190 =================================================================
===============←[0m
162.209.81.190
162.209.81.190 ←[31mError executing action `install` on resource 'package[openjdk-6-jdk]'←[0m
162.209.81.190
162.209.81.190 =================================================================
===============←[0m
162.209.81.190
162.209.81.190
162.209.81.190 ←[0m
162.209.81.190
162.209.81.190 Chef::Exceptions::Exec←[0m
162.209.81.190
162.209.81.190 ----------------------←[0m
162.209.81.190
162.209.81.190 apt-get -q -y install openjdk-6-jdk=6b27-1.12.5-0ubuntu0.12.04.1 returned 100, expected 0←[0m
162.209.81.190
162.209.81.190
162.209.81.190 ←[0m

Any suggestion on how to fix it?

Thanks,

--
Ricardo Mayerhofer



Archive powered by MHonArc 2.6.16.

§