[chef] Re: Is the mysql cookbook not getting the right version of the client?


Chronological Thread 
  • From: Catherine Truscott < >
  • To:
  • Subject: [chef] Re: Is the mysql cookbook not getting the right version of the client?
  • Date: Fri, 24 May 2013 16:14:15 +1000

I suspect that your package index on the server is stale, run apt-get update manually before running chef again and see if that helps you find the issue.

If it is just that the package index needed an update then you probably want to include something that does an apt-get update early in the chef run. If you're running Ubuntu, the apt cookbook's default recipe will do this for you.

Cat

On 24/05/2013, at 3:36 PM, Sachin Sagar Rai < "> > wrote:

HI,
I'm using the mysql cookbook and when it tries to install the client via mysql::client recipe, the following errors out:

[2013-05-24T05:35:07+00:00] FATAL: Chef::Exceptions::Exec: package[mysql-client] (mysql::client line 46) had an error: Chef::Exceptions::Exec: apt-get -q -y install mysql-client=5.5.29-0ubuntu0.12.04.2 returned 100, expected 0

Turns out that this version does not exist.

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.com
Sent with Sparrow





Archive powered by MHonArc 2.6.16.

§