Project

General

Profile

Bug #6437

ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with ruby193-ruby-1.9.3.327-29.el6.x86_64

Added by Sven Milinski about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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

History

#1 Updated by Dominic Cleal about 7 years ago

  • Status changed from New to Feedback

That version of ruby193-ruby is an alpha build of RHSCL, please ensure you use the current RHSCL 1.0 or 1.1 versions available with RHEL.

#2 Updated by Sven Milinski about 7 years ago

Hello,

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-1.9.3.327-29.el6.x86_64"

yum info ruby193-ruby-1.9.3.327-29.el6.x86_64
Name : ruby193-ruby
Arch : x86_64
Version : 1.9.3.327
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 1.9.3.448.

#4 Updated by Sven Milinski about 7 years ago

Thanks - that was a good help..

our problem was that all repositories was in one channel...

Ticket can be closed - thanks for the support !

#5 Updated by Dominic Cleal about 7 years ago

  • Status changed from Feedback to Resolved

Great, no problem.

Also available in: Atom PDF