CHEF-Client installation


#1

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 :frowning:

||/ 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


#2

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#3

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#4

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#5

Really? I can’t find it :frowning:

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 16:28
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#6

Is this not the same problem as I described in CHEF-2110 on jira? If
not i’m sorry - it looks like it to me.

On 31 March 2011 16:13, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Really? I can’t find it :frowning:

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 16:28
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#7

I just don’t know because I can’t find the discussion :frowning: May you help me a little bit?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:16
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

Is this not the same problem as I described in CHEF-2110 on jira? If
not i’m sorry - it looks like it to me.

On 31 March 2011 16:13, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Really? I can’t find it :frowning:

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 16:28
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#8

http://tickets.opscode.com/browse/CHEF-2110

On 31 March 2011 16:17, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

I just don’t know because I can’t find the discussion :frowning: May you help me a little bit?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:16
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

Is this not the same problem as I described in CHEF-2110 on jira? If
not i’m sorry - it looks like it to me.

On 31 March 2011 16:13, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Really? I can’t find it :frowning:

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 16:28
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#9

Mhm that seems to be a other problem which look like mine. The weird thing is that I’m able to install chef if the sever doesn’t work with puppet before. So I think “puppet” will write something to a file which will be checked by apt-get.

I made a test and I can reproduce it with no problems, just set up a debian server (debian-507-amd64-netinst.iso)
* Install chef (apt-get install chef) -> TO be sure that it will work
* Uninstall it with (apt-get --purge remove chef)
* Autoremove all automatic installed packages “apt-get --purge autoremove”
* Install “puppet” -> apt-get install puppet
* Remove puppet after installed -> apt-get --purge remove puppet
* apt-get --purge autoremove
* clean up everything -> apt-get clean
* and install chef again -> apt-get install chef

The result is that you will run into dependency errors:
* 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

I found out that the dependencies are stored at /var/lib/apt/lists/ ftp.at.debian.org_debian_dists_lenny_main_binary-i386_Packages

But I don’t think that it will be good to edit this file :slight_smile:

Regards

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:19
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

http://tickets.opscode.com/browse/CHEF-2110

On 31 March 2011 16:17, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

I just don’t know because I can’t find the discussion :frowning: May you help me a little bit?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:16
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

Is this not the same problem as I described in CHEF-2110 on jira? If
not i’m sorry - it looks like it to me.

On 31 March 2011 16:13, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Really? I can’t find it :frowning:

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 16:28
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

There is already a ticket for this CHEF-2110

On 31 March 2011 14:32, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

HI:

Uname - a
Linux server31 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 GNU/Linux

Debian_version: 5.0.8

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 15:30
To: chef@lists.opscode.com
Cc: WEINHAPL Andreas
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 5:59 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

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”

What version of debian?

Bryan


#10

That is strange as I couldn’t install chef on a freshly installed
lenny at all without creating a backport of libjson-ruby1.8, whihc is
the dependency error you see in the final stage.

You are right, you should not change the dependencies file, it
wouldn’t help anyway, each package holds it’s own dependencies, the
file is to help apt resolve them automatically

On 31 March 2011 16:36, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm that seems to be a other problem which look like mine. The weird thing is that I’m able to install chef if the sever doesn’t work with puppet before. So I think “puppet” will write something to a file which will be checked by apt-get.

I made a test and I can reproduce it with no problems, just set up a debian server (debian-507-amd64-netinst.iso)
* Install chef (apt-get install chef) -> TO be sure that it will work
* Uninstall it with (apt-get --purge remove chef)
* Autoremove all automatic installed packages “apt-get --purge autoremove”
* Install “puppet” -> apt-get install puppet
* Remove puppet after installed -> apt-get --purge remove puppet
* apt-get --purge autoremove
* clean up everything -> apt-get clean
* and install chef again -> apt-get install chef

The result is that you will run into dependency errors:
* 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

I found out that the dependencies are stored at /var/lib/apt/lists/ ftp.at.debian.org_debian_dists_lenny_main_binary-i386_Packages

But I don’t think that it will be good to edit this file :slight_smile:


#11

Mhm, youre right with the dependencies :slight_smile: I tested it in the meantime (last hope aso … you know )

The problem is that we need to install chef on the server where puppet was running before, because this are our production servers and can’t be install from the scratch :frowning:

So do you know a workaround or could you reproduce it?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:45
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

That is strange as I couldn’t install chef on a freshly installed
lenny at all without creating a backport of libjson-ruby1.8, whihc is
the dependency error you see in the final stage.

You are right, you should not change the dependencies file, it
wouldn’t help anyway, each package holds it’s own dependencies, the
file is to help apt resolve them automatically

On 31 March 2011 16:36, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm that seems to be a other problem which look like mine. The weird thing is that I’m able to install chef if the sever doesn’t work with puppet before. So I think “puppet” will write something to a file which will be checked by apt-get.

I made a test and I can reproduce it with no problems, just set up a debian server (debian-507-amd64-netinst.iso)
* Install chef (apt-get install chef) -> TO be sure that it will work
* Uninstall it with (apt-get --purge remove chef)
* Autoremove all automatic installed packages “apt-get --purge autoremove”
* Install “puppet” -> apt-get install puppet
* Remove puppet after installed -> apt-get --purge remove puppet
* apt-get --purge autoremove
* clean up everything -> apt-get clean
* and install chef again -> apt-get install chef

The result is that you will run into dependency errors:
* 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

I found out that the dependencies are stored at /var/lib/apt/lists/ ftp.at.debian.org_debian_dists_lenny_main_binary-i386_Packages

But I don’t think that it will be good to edit this file :slight_smile:


#12

I think you need to wait for opscode to fix the bug, or backport
libjson from their source repository and that will solve your issues.

I’m sure it’s the same issue, I just don’t get the strangeness with
puppet first.

It will work with a backported libjson, as I have lenny servers with
puppet and chef installed having created the backport.

On 31 March 2011 16:47, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm, youre right with the dependencies :slight_smile: I tested it in the meantime (last hope aso … you know )

The problem is that we need to install chef on the server where puppet was running before, because this are our production servers and can’t be install from the scratch :frowning:

So do you know a workaround or could you reproduce it?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:45
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

That is strange as I couldn’t install chef on a freshly installed
lenny at all without creating a backport of libjson-ruby1.8, whihc is
the dependency error you see in the final stage.

You are right, you should not change the dependencies file, it
wouldn’t help anyway, each package holds it’s own dependencies, the
file is to help apt resolve them automatically

On 31 March 2011 16:36, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm that seems to be a other problem which look like mine. The weird thing is that I’m able to install chef if the sever doesn’t work with puppet before. So I think “puppet” will write something to a file which will be checked by apt-get.

I made a test and I can reproduce it with no problems, just set up a debian server (debian-507-amd64-netinst.iso)
* Install chef (apt-get install chef) -> TO be sure that it will work
* Uninstall it with (apt-get --purge remove chef)
* Autoremove all automatic installed packages “apt-get --purge autoremove”
* Install “puppet” -> apt-get install puppet
* Remove puppet after installed -> apt-get --purge remove puppet
* apt-get --purge autoremove
* clean up everything -> apt-get clean
* and install chef again -> apt-get install chef

The result is that you will run into dependency errors:
* 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

I found out that the dependencies are stored at /var/lib/apt/lists/ ftp.at.debian.org_debian_dists_lenny_main_binary-i386_Packages

But I don’t think that it will be good to edit this file :slight_smile:


#13

So I created a fresh install of debian and yeah you’re right… it won’t work … :frowning: So I have to do it with a backported libjson :frowning:

But kindly regards for your help

Regards

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:51
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

I think you need to wait for opscode to fix the bug, or backport
libjson from their source repository and that will solve your issues.

I’m sure it’s the same issue, I just don’t get the strangeness with
puppet first.

It will work with a backported libjson, as I have lenny servers with
puppet and chef installed having created the backport.

On 31 March 2011 16:47, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm, youre right with the dependencies :slight_smile: I tested it in the meantime (last hope aso … you know )

The problem is that we need to install chef on the server where puppet was running before, because this are our production servers and can’t be install from the scratch :frowning:

So do you know a workaround or could you reproduce it?!

-----Original Message-----
From: Kimball Johnson [mailto:kimball@bowerham.net]
Sent: Donnerstag, 31. März 2011 17:45
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com; Bryan McLellan
Subject: Re: [chef] RE: CHEF-Client installation

That is strange as I couldn’t install chef on a freshly installed
lenny at all without creating a backport of libjson-ruby1.8, whihc is
the dependency error you see in the final stage.

You are right, you should not change the dependencies file, it
wouldn’t help anyway, each package holds it’s own dependencies, the
file is to help apt resolve them automatically

On 31 March 2011 16:36, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Mhm that seems to be a other problem which look like mine. The weird thing is that I’m able to install chef if the sever doesn’t work with puppet before. So I think “puppet” will write something to a file which will be checked by apt-get.

I made a test and I can reproduce it with no problems, just set up a debian server (debian-507-amd64-netinst.iso)
* Install chef (apt-get install chef) -> TO be sure that it will work
* Uninstall it with (apt-get --purge remove chef)
* Autoremove all automatic installed packages “apt-get --purge autoremove”
* Install “puppet” -> apt-get install puppet
* Remove puppet after installed -> apt-get --purge remove puppet
* apt-get --purge autoremove
* clean up everything -> apt-get clean
* and install chef again -> apt-get install chef

The result is that you will run into dependency errors:
* 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

I found out that the dependencies are stored at /var/lib/apt/lists/ ftp.at.debian.org_debian_dists_lenny_main_binary-i386_Packages

But I don’t think that it will be good to edit this file :slight_smile:


#14

On Thu, Mar 31, 2011 at 8:50 AM, Kimball Johnson kimball@bowerham.net wrote:

I think you need to wait for opscode to fix the bug, or backport
libjson from their source repository and that will solve your issues.

I’ll look into fixing it this morning.

Bryan


#15

On Thu, Mar 31, 2011 at 6:32 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Debian_version: 5.0.8

I had copied the backport of libjson-ruby1.8=1.4.6-1 I made for a
recent version of ubuntu to a number of ubuntu and debian releases to
save some time. I’ve uploaded libjson-ruby1.8 compiled for amd64 +
i386 on lenny (oldstable) to apt.opscode.com [1]. “apt-get install
chef” per the wiki [2] now works for me.

Bryan

[1]
ip-10-204-170-216:~# apt-cache madison libjson-ruby1.8
libjson-ruby1.8 | 1.4.6-1lenny1 | http://apt.opscode.com lenny/main Packages
libjson-ruby1.8 | 1.1.2-1+lenny1 | http://http.us.debian.org lenny/main Packages

[2] http://wiki.opscode.com/display/chef/Package+Installation+on+Debian+and+Ubuntu


#16

Hi Bryan,

Thanks for doing this but in my case it won’t work with the normal installation :frowning:

dbdump:~# apt-cache madison libjson-ruby1.8
libjson-ruby1.8 | 1.4.6-1opscode1 | http://apt.opscode.com lenny/main Packages
libjson-ruby1.8 | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main Packages
libjson-ruby | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main Sources

dbdump:~# apt-get install chef
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 do you know when this problem will be resolved. We can’t use backports for our environment, because if you are using this it will be the same to sell an old cake as a new one. It doesn’t fell right for me.
Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Donnerstag, 31. März 2011 21:46
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com
Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 6:32 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Debian_version: 5.0.8

I had copied the backport of libjson-ruby1.8=1.4.6-1 I made for a
recent version of ubuntu to a number of ubuntu and debian releases to
save some time. I’ve uploaded libjson-ruby1.8 compiled for amd64 +
i386 on lenny (oldstable) to apt.opscode.com [1]. “apt-get install
chef” per the wiki [2] now works for me.

Bryan

[1]
ip-10-204-170-216:~# apt-cache madison libjson-ruby1.8
libjson-ruby1.8 | 1.4.6-1lenny1 | http://apt.opscode.com lenny/main Packages
libjson-ruby1.8 | 1.1.2-1+lenny1 | http://http.us.debian.org lenny/main Packages

[2] http://wiki.opscode.com/display/chef/Package+Installation+on+Debian+and+Ubuntu


#17

Are you sure you ran ‘apt-get update’ before that ‘apt-cache madison’?

On Mar 31, 2011 11:39 PM, “WEINHAPL Andreas” <
andreas.weinhapl@thalesgroup.com> wrote:

Hi Bryan,

Thanks for doing this but in my case it won’t work with the normal
installation :frowning:

dbdump:~# apt-cache madison libjson-ruby1.8
libjson-ruby1.8 | 1.4.6-1opscode1 | http://apt.opscode.com lenny/main
Packages
libjson-ruby1.8 | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main
Packages
libjson-ruby | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main Sources

dbdump:~# apt-get install chef

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some…
So do you know when this problem will be resolved. We can’t use backports
for our environment, because if you are using this it will be the same to
sell an old cake as a new one. It doesn’t fell right for me.

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.org]

Sent: Donnerstag, 31. März 2011 21:46
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com

Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 6:32 AM, WEINHAPL Andreas
andreas.weinhapl@thalesgroup.com wrote:

Debian…


#18

HI,
Yes I did! I cleaned the cache before I made an apt-get update :slight_smile: So I don’t know. But that’s no problem because we’re thinking about using Ubuntu as the main OS. The other question I would like to ask you is, do you think that the next generations of Debian would also be able to work as a chef-server?! Or is the squeeze edition of Ubuntu only a test?!

Regards

From: Bryan McLellan [mailto:btm@loftninjas.org]
Sent: Freitag, 01. April 2011 17:41
To: WEINHAPL Andreas
Cc: chef@lists.opscode.com
Subject: Re: RE: [chef] CHEF-Client installation

Are you sure you ran ‘apt-get update’ before that ‘apt-cache madison’?
On Mar 31, 2011 11:39 PM, “WEINHAPL Andreas” <andreas.weinhapl@thalesgroup.commailto:andreas.weinhapl@thalesgroup.com> wrote:

Hi Bryan,

Thanks for doing this but in my case it won’t work with the normal installation :frowning:

dbdump:~# apt-cache madison libjson-ruby1.8
libjson-ruby1.8 | 1.4.6-1opscode1 | http://apt.opscode.com lenny/main Packages
libjson-ruby1.8 | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main Packages
libjson-ruby | 1.1.2-1+lenny1 | http://debian.inode.at lenny/main Sources

dbdump:~# apt-get install chef

Reading package lists… Done
Building dependency tree
Reading state information… Done
Some…
So do you know when this problem will be resolved. We can’t use backports for our environment, because if you are using this it will be the same to sell an old cake as a new one. It doesn’t fell right for me.

Regards

-----Original Message-----
From: Bryan McLellan [mailto:btm@loftninjas.orgmailto:btm@loftninjas.org]

Sent: Donnerstag, 31. März 2011 21:46
To: WEINHAPL Andreas
Cc: chef@lists.opscode.commailto:chef@lists.opscode.com

Subject: Re: [chef] CHEF-Client installation

On Thu, Mar 31, 2011 at 6:32 AM, WEINHAPL Andreas
<andreas.weinhapl@thalesgroup.commailto:andreas.weinhapl@thalesgroup.com> wrote:

Debian…