Ubuntu hardy chef installation problem


#1

Hi guys,

Sorry if this is an obvious one, I’m new to chef.
Basically installed server & clients successfully on Ubuntu 10.4 machines and
been able to run recipes.
BUT, have a few older machines on 8.04LTS Ubuntu, and I can’t get the chef
client installed on them.
Have added opscode repository, and when I do:
sudo aptitude install chef

I get:

Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Building tag database… Done
The following packages are BROKEN:
libchef-ruby1.8
The following NEW packages will be automatically installed:
libabstract-ruby1.8 libbunny-ruby1.8 liberubis-ruby1.8 libextlib-ruby1.8
libgems-ruby1.8 libhighline-ruby1.8 libjson-ruby1.8 libmime-types-ruby
libmixlib-authentication-ruby1.8 libmixlib-cli-ruby1.8
libmixlib-config-ruby1.8 libmixlib-log-ruby1.8 libmoneta-ruby1.8
libohai-ruby libohai-ruby1.8 librestclient-ruby1.8 libsystemu-ruby1.8
ohai ruby rubygems ucf
The following NEW packages will be installed:
chef libabstract-ruby1.8 libbunny-ruby1.8 liberubis-ruby1.8
libextlib-ruby1.8 libgems-ruby1.8 libhighline-ruby1.8 libjson-ruby1.8
libmime-types-ruby libmixlib-authentication-ruby1.8 libmixlib-cli-ruby1.8
libmixlib-config-ruby1.8 libmixlib-log-ruby1.8 libmoneta-ruby1.8
libohai-ruby libohai-ruby1.8 librestclient-ruby1.8 libsystemu-ruby1.8
ohai ruby rubygems ucf
0 packages upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 1104kB of archives. After unpacking 12.0MB will be used.
The following packages have unmet dependencies:
libchef-ruby1.8: Depends: libuuidtools-ruby1.8 which is a virtual package.
Resolving dependencies…
The following actions will resolve these dependencies:

Keep the following packages at their current version:
chef [Not Installed]
libchef-ruby1.8 [Not Installed]

Score is -9868

Accept this solution? [Y/n/q/?]

Accepting with Y basically does nothing (0 packages installed).
Am I missing something obvious? I don’t know how to resolve this.
Many thanks for any input!
BvD


#2

On Sat, Jul 10, 2010 at 8:15 AM, boudewijn.vandongen@gmail.com wrote:

Hi guys,

Sorry if this is an obvious one, I’m new to chef.
Basically installed server & clients successfully on Ubuntu 10.4 machines and
been able to run recipes.
BUT, have a few older machines on 8.04LTS Ubuntu, and I can’t get the chef
client installed on them.
Have added opscode repository, and when I do:
sudo aptitude install chef

I get:

Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Building tag database… Done
The following packages are BROKEN:
libchef-ruby1.8
The following NEW packages will be automatically installed:
libabstract-ruby1.8 libbunny-ruby1.8 liberubis-ruby1.8 libextlib-ruby1.8
libgems-ruby1.8 libhighline-ruby1.8 libjson-ruby1.8 libmime-types-ruby
libmixlib-authentication-ruby1.8 libmixlib-cli-ruby1.8
libmixlib-config-ruby1.8 libmixlib-log-ruby1.8 libmoneta-ruby1.8
libohai-ruby libohai-ruby1.8 librestclient-ruby1.8 libsystemu-ruby1.8
ohai ruby rubygems ucf
The following NEW packages will be installed:
chef libabstract-ruby1.8 libbunny-ruby1.8 liberubis-ruby1.8
libextlib-ruby1.8 libgems-ruby1.8 libhighline-ruby1.8 libjson-ruby1.8
libmime-types-ruby libmixlib-authentication-ruby1.8 libmixlib-cli-ruby1.8
libmixlib-config-ruby1.8 libmixlib-log-ruby1.8 libmoneta-ruby1.8
libohai-ruby libohai-ruby1.8 librestclient-ruby1.8 libsystemu-ruby1.8
ohai ruby rubygems ucf
0 packages upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 1104kB of archives. After unpacking 12.0MB will be used.
The following packages have unmet dependencies:
libchef-ruby1.8: Depends: libuuidtools-ruby1.8 which is a virtual package.
Resolving dependencies…
The following actions will resolve these dependencies:

Keep the following packages at their current version:
chef [Not Installed]
libchef-ruby1.8 [Not Installed]

Score is -9868

Accept this solution? [Y/n/q/?]

Accepting with Y basically does nothing (0 packages installed).
Am I missing something obvious? I don’t know how to resolve this.
Many thanks for any input!
BvD

Hi!

I’ve reproduced this on a fresh 8.04.4 install. Looks like
libuuidtools-ruby1.8 is not installable, and therefore neither is
libchef-ruby1.8. I’ve opened a ticket for this issue:
http://tickets.opscode.com/browse/CHEF-1436

Cameron


#3

Ohai!

On Jul 10, 2010, at 9:01 AM, Cameron Johnston wrote:

I’ve reproduced this on a fresh 8.04.4 install. Looks like
libuuidtools-ruby1.8 is not installable, and therefore neither is
libchef-ruby1.8. I’ve opened a ticket for this issue:
http://tickets.opscode.com/browse/CHEF-1436

I’ve updated the apt repository and closed the ticket.

Thanks for reporting this guys!


Opscode, Inc
Joshua Timberman, Senior Solutions Engineer
C: 720.334.RUBY E: joshua@opscode.com