Hi, I just want to install chef-client on a Debian server. In the normal way this is no prob. First put the sources in the source-list and add the gpg key. After that install it with “apt-get install chef-client” So now I get the message: “ Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: chef: Depends: libjson-ruby1.8 (>= 1.4.6) but it is not going to be installed Depends: ohai (>= 0.5.8) but it is not going to be installed Depends: libchef-ruby1.8 (= 0.9.14+dfsg-1) but it is not going to be installed E: Broken packages “ So I just used these things to resolve the issue: · apt-get --purge remove puppet (because we used puppet first) · apt-get --purge autoremove · apt-get clean but after these steps I couldn’t install chef-client. I also checked the packages and found out that there are newer versions of ruby on the apt-repo but chef will use older ones. Could this be the problem or could someone help me with that?! E.g.: Depends: ohai (>= 0.5.8) but it is not going to be installed Depends: libohai-ruby but it is not going to be installed Depends: libohai-ruby1.8 (= 0.5.8-1) but it is not going to be installed Depends: libjson-ruby1.8 but it is not going to be installed Depends: libruby1.8 (>= 1.8.7.249) but it is not going to be installed Inst libruby1.8 (1.8.7.72-3lenny1 Debian:5.0.8/oldstable, Debian-Security:5.0/oldstable) -> I could install this but after installation, I couldn’t install ohai L ||/ Name Version Description +++-=============================-=============================-========================================================================== ii libruby1.8 1.8.7.72-3lenny1 Libraries necessary to run Ruby 1.8 If I compare it with an running client (same version of Debian aso) is should be fine …. Dpkg –l Regards Andreas |
Archive powered by MHonArc 2.6.16.