[chef] Re: Re: mysql cookbook fails : Chef::Exceptions::Exec: apt-get -q -y install mysql-client=5.5.24-0ubuntu0.12.04.1 returned 100, expected 0


Chronological Thread 
  • From: Nilesh < >
  • To:
  • Subject: [chef] Re: Re: mysql cookbook fails : Chef::Exceptions::Exec: apt-get -q -y install mysql-client=5.5.24-0ubuntu0.12.04.1 returned 100, expected 0
  • Date: Thu, 8 Nov 2012 08:06:12 -0800

Thanks. is there a recipe for apt-get update that I am missing?

On Nov 8, 2012, at 7:43 AM, Jorge Bianquetti < "> > wrote:

Ohai, Nilesh

When I have this kind of problem,  first thing to test its simple:

- vagrant up  without  provision vm . ( comment out all chef references on Vagrantfile)
-  run offending command WITHOUT run apt-get update first. 
- If it fails, run apt-get update and fire up again.

This situation is common when package has been removed from repos, but your local cache have references to it.






2012/11/8 Nilesh < " target="_blank"> >
I created a folder for vagrantVM, edited Vagrantfile to add solo recipes, created a cookbooks folder and cloned mysql, build-essential, openssl from https://github.com/opscode-cookbooks and then vagrant up but chef failed.

https://gist.github.com/4039324 Is this a known issue?





Archive powered by MHonArc 2.6.16.

§