ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with ruby193-ruby-220.127.116.117-29.el6.x86_64
There is an RPM Issue with a vanilla installation of RHEL6 and the foreman-installer
foreman-installer return ERROR:
Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-mysql2' returned 1: Transaction Check Error:
/Stage[main]/Foreman::Install/Package[foreman-mysql2]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-mysql2' returned 1: Transaction Check Error:
yum error (by manual installation)
yum -d 0 -e 0 -y install foreman-mysql2
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-18.104.22.1687-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
#2 Updated by Sven Milinski about 7 years ago
thanks for the fast reply... this issue is a little bit tricky... because the package ruby193-ruby comes from your repo:
=> "conflicts with file from package ruby193-ruby-22.214.171.1247-29.el6.x86_64"
yum info ruby193-ruby-126.96.36.1997-29.el6.x86_64
Name : ruby193-ruby
Arch : x86_64
Version : 188.8.131.527
Release : 29.el6
Size : 71 k
Repo : installed
From repo : rhel-x86_64-foreman-stable-server-6 (this is our name for your repository)
Summary : An interpreter of object-oriented scripting language
URL : http://ruby-lang.org/
License : (Ruby or BSD) and Public Domain
Description : Ruby is the interpreted scripting language for quick and easy
: object-oriented programming. It has many features to process text
: files and to do system management tasks (as in Perl). It is simple,
: straight-forward, and extensible.
I've tried to use the RHSCL in version 1.0 - but the same error occurred
#3 Updated by Dominic Cleal about 7 years ago
Our Foreman 1.2 and 1.3 repositories used to ship this package, back before RHSCL was released. If you're installing Foreman 1.4 or higher, then you shouldn't use it. Instead, you should enable RHSCL (Red Hat Software Collections, more info in the pre-reqs), one of the Red Hat repositories.
RHSCL 1.0 should provide you with a newer package, circa 184.108.40.2068.