Problem installing chef-client

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation
fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems installation,
I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2);
net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh
(>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi ignasi.barrera@gmail.com wrote:

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation
fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems
installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2);
net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh
(>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

I've just found this was already opened. I assume it is the same issue:
http://tickets.opscode.com/browse/CHEF-3835
Will watch it to be aware of the fix.

Thanks!

On 6 February 2013 11:36, Brian Hatfield bhatfield@brightcove.com wrote:

It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi ignasi.barrera@gmail.com wrote:

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation
fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems
installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2);
net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh
(>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

There is already a prerelease gem with the fix, gem install chef --pre. There are prerelease flags for bootstrap if you're using gem bootstraps. Working on full release now.

--
Daniel DeLeo

On Wednesday, February 6, 2013 at 11:40 AM, Ignasi wrote:

I've just found this was already opened. I assume it is the same issue: http://tickets.opscode.com/browse/CHEF-3835
Will watch it to be aware of the fix.

Thanks!

On 6 February 2013 11:36, Brian Hatfield <bhatfield@brightcove.com (mailto:bhatfield@brightcove.com)> wrote:

It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi <ignasi.barrera@gmail.com (mailto:ignasi.barrera@gmail.com)> wrote:

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2); net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh (>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

Daniel: I don't think upgrading Chef is the only solution to this problem -
10.x versions are affected too, and a lot of people are not ready to
upgrade due to the large number of breaking changes.

On Wed, Feb 6, 2013 at 2:42 PM, Daniel DeLeo dan@kallistec.com wrote:

There is already a prerelease gem with the fix, gem install chef --pre.
There are prerelease flags for bootstrap if you're using gem bootstraps.
Working on full release now.

--
Daniel DeLeo

On Wednesday, February 6, 2013 at 11:40 AM, Ignasi wrote:

I've just found this was already opened. I assume it is the same issue:
http://tickets.opscode.com/browse/CHEF-3835
Will watch it to be aware of the fix.

Thanks!

On 6 February 2013 11:36, Brian Hatfield bhatfield@brightcove.com wrote:

It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi ignasi.barrera@gmail.com wrote:

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation
fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems
installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2);
net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh
(>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

A patch for Chef 10.18 is being tested as well.

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray


From: Brian Hatfield [bhatfield@brightcove.com]
Sent: Wednesday, February 06, 2013 1:58 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Re: Problem installing chef-client

Daniel: I don’t think upgrading Chef is the only solution to this problem - 10.x versions are affected too, and a lot of people are not ready to upgrade due to the large number of breaking changes.

On Wed, Feb 6, 2013 at 2:42 PM, Daniel DeLeo <dan@kallistec.commailto:dan@kallistec.com> wrote:
There is already a prerelease gem with the fix, gem install chef --pre. There are prerelease flags for bootstrap if you’re using gem bootstraps. Working on full release now.


Daniel DeLeo

On Wednesday, February 6, 2013 at 11:40 AM, Ignasi wrote:

I’ve just found this was already opened. I assume it is the same issue: http://tickets.opscode.com/browse/CHEF-3835
Will watch it to be aware of the fix.

Thanks!

On 6 February 2013 11:36, Brian Hatfield <bhatfield@brightcove.commailto:bhatfield@brightcove.com> wrote:
It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi <ignasi.barrera@gmail.commailto:ignasi.barrera@gmail.com> wrote:
Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but installation fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem … (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2); net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh (>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

We're still using 10.12.0 in a lot of places. Is that one EOL? Or will it
get a patch as well?

Thx

MG

On Wed, Feb 6, 2013 at 1:06 PM, Matt Ray matt@opscode.com wrote:

A patch for Chef 10.18 is being tested as well.

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray

From: Brian Hatfield [bhatfield@brightcove.com]
Sent: Wednesday, February 06, 2013 1:58 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Re: Problem installing chef-client

Daniel: I don't think upgrading Chef is the only solution to this
problem - 10.x versions are affected too, and a lot of people are not ready
to upgrade due to the large number of breaking changes.

On Wed, Feb 6, 2013 at 2:42 PM, Daniel DeLeo dan@kallistec.com wrote:

There is already a prerelease gem with the fix, gem install chef --pre.
There are prerelease flags for bootstrap if you're using gem bootstraps.
Working on full release now.

--
Daniel DeLeo

On Wednesday, February 6, 2013 at 11:40 AM, Ignasi wrote:

I've just found this was already opened. I assume it is the same
issue: http://tickets.opscode.com/browse/CHEF-3835
Will watch it to be aware of the fix.

Thanks!

On 6 February 2013 11:36, Brian Hatfield bhatfield@brightcove.comwrote:

It appears that net-ssh was updated today and is broken.

On Wed, Feb 6, 2013 at 2:30 PM, Ignasi ignasi.barrera@gmail.com wrote:

Hi!

I am trying to install the chef gems in an Ubuntu 11.04, but
installation fails due to its dependencies.

I installed ruby from the Ubuntu repositories:
apt-get update
apt-get install -y ruby ruby-dev build-essential wget

And Rubygems from the tarball and updated as follows:
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar zxf rubygems-1.3.7.tgz
ruby setup.rb --no-format-executable
gem update --system
gem update
gem list
*** LOCAL GEMS ***
rubygems-update (1.8.25)

But when I try to install the chef gem after a clean Rubygems
installation, I get the following error:
gem install chef --no-rdoc --no-ri
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: chef requires net-ssh (~> 2.2.2);
net-ssh-multi requires net-ssh (>= 2.6.5); net-ssh-gateway requires net-ssh
(>= 2.6.5)

Is there something I am missing?

Thank you,

Ignasi

yes, if you try to install vagrant via rubygems, you suffer the same pain:

net-ssh-multi was updated to net-ssh => 2.6.4 in a patch version m(

Am 06.02.2013 20:36, schrieb Brian Hatfield:

It appears that net-ssh was updated today and is broken.