Re: Problem installing


Chronological Thread 
  • From: AJ Christensen <aj@junglist.gen.nz>
  • To: chef@lists.opscode.com
  • Subject: Re: Problem installing
  • Date: Thu, 12 Mar 2009 09:20:13 +1300

Can you possibly paste up -l debug output; thanks.

Regards,

AJ

On 12/03/2009, at 7:47 AM, José Luis Gordo Romero wrote:

Hi again,

Thanks for the suport!, I have the universe and apt-get updated and the same error happen.

INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 27) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:in `action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in `send'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:in `converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:in `run_solo'/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94/usr/bin/chef-solo:19:in `load'/usr/bin/chef-solo:19
/usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/provider/package.rb:44:in `action_install': No version specified, and no candidate version available! (Chef::Exception::Package)
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in `send'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:87:in `converge'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in `each'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:85:in `converge'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:58:in `each'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/resource_collection.rb:57:in `each'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/runner.rb:63:in `converge'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:343:in `converge'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/lib/chef/client.rb:96:in `run_solo'
        from /usr/lib/ruby/gems/1.8/gems/chef-0.5.6/bin/chef-solo:94
        from /usr/bin/chef-solo:19:in `load'

My sources.list if it helps:

deb http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
#deb http://archive.canonical.com/ubuntu intrepid partner
#deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

Thanks again

2009/3/11 Joshua Sierles <joshua@37signals.com>
INFO: Starting Chef Solo Run
ERROR: package[runit] (/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 27) had an error:
No version specified, and no candidate version available!

I install the runit ubuntu package with the same result (the gem's part was ok)

You probably need to run 'apt-get update' first.

Joshua Sierles
37signals





Archive powered by MHonArc 2.6.16.

§