[[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Problem installing multiple packages on a node


Chronological Thread 
  • From: Akzhan Abdulin < >
  • To: Daniel DeLeo < >
  • Cc: Roberto Aloi < >,
  • Subject: [[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Problem installing multiple packages on a node
  • Date: Fri, 18 Mar 2011 00:53:23 +0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EttKZ49rbHgn4Cv8wtkDkwJl9hn7tudmcwpmW2J+MRklFKIZ15JwKC+GztczqqWN4o 2bJZ99/YJEdHi/6mAiwCgHhJdg2rfU8W/ld+57lrGEDyE0au5MGGNmxFhpWzVVMMd0Mv R7ry6F5vpiso3Q43k7ee1CqeZ5leDPLo1D2Is=

Andadd necessary apt keys.

2011/3/17 Daniel DeLeo < "> >

On Thursday, March 17, 2011 at 7:02 AM, Roberto Aloi wrote:

Hi all,


[default] [Thu, 17 Mar 2011 06:24:27 -0700] INFO: Installing package[libssl-dev] version 0.9.8k-7ubuntu8.5
: stdout
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures': stderr
[default] : : stderr
[[default] apt-get -q -y install libssl-dev=0.9.8k-7ubuntu8.5 returned 100, expected 0: stderr
[default] (: stderr
[default] Chef::Exceptions::Exec: stderr
[default] )
: stderr
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:199:in `run_command_with_systems_locale'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/package/apt.rb:68:in `install_package'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/package.rb:60:in `action_install'
[[...]



I've the impression I'm missing something basic here...

Roberto
Most likely, you need to run apt-get update before installing these packages.

-- 
Dan DeLeo





Archive powered by MHonArc 2.6.16.

§