Installing Chef on Ubuntu 8.04


#1

Hi,

Just tried to install Chef on a Ubuntu 8.04 LTS server by following
the instructions on http://wiki.opscode.com/display/chef/Installation

Unfortunately, it fails with the following error:

ERROR: package[couchdb] (/tmp/chef-solo/cookbooks/chef/recipes/
server.rb line 46) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/provider/package.rb:
44:in action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/ runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/
runner.rb:87:in converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/ chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/
chef/runner.rb:85:in converge'/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/ lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.1/lib/chef/resource_collection.rb:57:in each'/usr/lib/ ruby/gems/1.8/gems/chef-0.5.1/lib/chef/runner.rb:63:inconverge’/usr/
lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/client.rb:342:in converge'/ usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/client.rb:96:inrun_solo’/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/bin/chef-solo:98/usr/
bin/chef-solo:19:in load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/provider/package.rb: 44:inaction_install’: No version specified, and no candidate version
available! (Chef::Exception::Package)

And a
aptitude search couchdb
returns nothing which confirms that there is in fact no couchdb
package for 8.04.

Has anybody else had the same problem?

/Jørgen


Jørgen Orehøj Erichsen
joe@erichsen.net
+45 29 72 82 40
http://erichsen.net


#2

Hiya,

I certainly did have the same problem - CouchDB was first made
available in Ubuntu Intrepid Ibis, and can be backported with the
’prevu’ tool.

Alternatively you could install from source, or use APT pinning to
install directly from the intrepid repositories.

Regards,
AJ

On 19/01/2009, at 1:09 AM, Jørgen Orehøj Erichsen wrote:

Hi,

Just tried to install Chef on a Ubuntu 8.04 LTS server by following
the instructions on http://wiki.opscode.com/display/chef/Installation

Unfortunately, it fails with the following error:

ERROR: package[couchdb] (/tmp/chef-solo/cookbooks/chef/recipes/
server.rb line 46) had an error:
No version specified, and no candidate version available!
/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/provider/package.rb:
44:in action_install'/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/ chef/runner.rb:87:insend’/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/
lib/chef/runner.rb:87:in converge'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.1/lib/chef/runner.rb:85:ineach’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.1/lib/chef/runner.rb:85:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.1/lib/chef/resource_collection.rb:58:ineach’/usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/
resource_collection.rb:57:in each'/usr/lib/ruby/gems/1.8/gems/ chef-0.5.1/lib/chef/runner.rb:63:inconverge’/usr/lib/ruby/gems/1.8/
gems/chef-0.5.1/lib/chef/client.rb:342:in converge'/usr/lib/ruby/ gems/1.8/gems/chef-0.5.1/lib/chef/client.rb:96:inrun_solo’/usr/lib/
ruby/gems/1.8/gems/chef-0.5.1/bin/chef-solo:98/usr/bin/chef-solo:
19:in load'/usr/bin/chef-solo:19 /usr/lib/ruby/gems/1.8/gems/chef-0.5.1/lib/chef/provider/package.rb: 44:inaction_install’: No version specified, and no candidate
version available! (Chef::Exception::Package)

And a
aptitude search couchdb
returns nothing which confirms that there is in fact no couchdb
package for 8.04.

Has anybody else had the same problem?

/Jørgen


Jørgen Orehøj Erichsen
joe@erichsen.net
+45 29 72 82 40
http://erichsen.net