Foreman upgrade from 1.3.2 to 1.5 is giving ruby conflicts

Hi Team,

I followed the procedure provided in
"Foreman :: Manual"

After executing "yum upgrade ruby* foreman*". I am encountering below
ruby conflict errors.

Could someone please let me know, how to fix the below RPM issue.

··· ************************************************************************************************************************************************** Transaction Check Error: file /usr/bin/ruby193-ruby from install of ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package ruby193-ruby-1.9.3.327-29.el6.x86_64 file /usr/bin/ruby193-rake from install of ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package ruby193-rubygem-rake-0.9.2.2-29.el6.noarch

Error Summary


Thanks and Regards,
Pradeep.

It looks like you don't have the official SCL repository enabled (we did
this migration in 1.4). Depending on your OS, you want to enable one of
RHSCL, CentOS SCL or Scientific Linux SCL.

See the pre-requisites section here:
http://theforeman.org/manuals/1.5/index.html#3.3.1RPMPackages

··· On 11/05/14 21:06, Pradeep Reddy wrote: > Hi Team, > > I followed the procedure provided in > "http://theforeman.org/manuals/1.5/index.html#3.6Upgrade" > > After executing "*yum upgrade ruby\* foreman\**". I am encountering > below ruby conflict errors. > > Could someone please let me know, how to fix the below RPM issue. > > ************************************************************************************************************************************************** > Transaction Check Error: > file /usr/bin/ruby193-ruby from install of > ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package > ruby193-ruby-1.9.3.327-29.el6.x86_64 > file /usr/bin/ruby193-rake from install of > ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package > ruby193-rubygem-rake-0.9.2.2-29.el6.noarch


Dominic Cleal
Red Hat Engineering

Thanks Dominic.

I added CentOS SCL and issue got resolved.

Regards,
Pradeep.

··· On Monday, 12 May 2014 10:17:08 UTC+2, Dominic Cleal wrote: > > On 11/05/14 21:06, Pradeep Reddy wrote: > > Hi Team, > > > > I followed the procedure provided in > > "http://theforeman.org/manuals/1.5/index.html#3.6Upgrade" > > > > After executing "*yum upgrade ruby\* foreman\**". I am encountering > > below ruby conflict errors. > > > > Could someone please let me know, how to fix the below RPM issue. > > > > > ************************************************************************************************************************************************** > > > Transaction Check Error: > > file /usr/bin/ruby193-ruby from install of > > ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package > > ruby193-ruby-1.9.3.327-29.el6.x86_64 > > file /usr/bin/ruby193-rake from install of > > ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package > > ruby193-rubygem-rake-0.9.2.2-29.el6.noarch > > It looks like you don't have the official SCL repository enabled (we did > this migration in 1.4). Depending on your OS, you want to enable one of > RHSCL, CentOS SCL or Scientific Linux SCL. > > See the pre-requisites section here: > http://theforeman.org/manuals/1.5/index.html#3.3.1RPMPackages > > -- > Dominic Cleal > Red Hat Engineering >