Ubuntu 11.10 chef-server install
I’m trying to install chef-server on a brand-spanking new, stock install of Ubuntu 11.10 (i386), using this guide: http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages
I’ve performed all items successfully through the “sudo apt-get upgrade” step.
Upon trying to “sudo apt-get install chef chef-server”, I get the following error:
ubuntu@ubuntu:/etc/couchdb$ sudo apt-get install chef chef-server
Reading package lists… Done
Building dependency tree
The following packages have unmet dependencies: chef : Depends: ohai (>= 0.6.0) but it is not going to be installed
chef-server : Depends: chef-server-api (>= 0.10.8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So, it appears that the packages are referring to broken dependencies…what am I missing here?
Thanks in advance.
install gcc 4.1.2
I am trying to install specifically gcc version 4.1.2 through recipe.
I tried package with version but it fails while bootstrap as it says version is expected to be String !
package “gcc” do action :install version :“4.1.2 20080704” end
Secondly I tried in attributes: default[‘gcc’][‘version’] = “4.1.2”
but looks like it have no effect (or this may not be right way!)
Please help me to install specific version of gcc through chef recipe.
Change chef-client install directory
I’m running on a SL6, I’ve tried the package installation which install it in “/opt/chef”, I’ve also tried the rubygem install (was new for me) and I think my ruby environment install it in “/usr/bin/ruby”
Can you specify your installation directory with the “HEAD” installation ? (answer myself HEAD install is like gem install)
Thanks in advance. regards.