Bug 711102 - ruby-irb from rhel5 not compatible with ruby from EPEL
Summary: ruby-irb from rhel5 not compatible with ruby from EPEL
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ruby
Version: 5.6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 5.8
Assignee: Vít Ondruch
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 711107
TreeView+ depends on / blocked
 
Reported: 2011-06-06 14:47 UTC by david
Modified: 2011-06-07 11:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-07 11:41:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description david 2011-06-06 14:47:20 UTC
Description of problem:
The ruby-irb package from RHEL5 has a too-specific version dependency on ruby. This makes it incompatible with the ruby package from EPEL (needed by many EPEL packages), and therefore causes brokenness on systems with EPEL repos enabled.


Version-Release number of selected component (if applicable): 
ruby-irb.i386 1.8.5-5.el5_4.8
ruby 1.8.5.114-1.fc6



How reproducible: Always


Steps to Reproduce:
1. Add EPEL repo to sources
2. Update system
3. Try to install ruby-irb package
  
Actual results:
root@pmonitor02 ~ # yum install ruby-irb
Loaded plugins: downloadonly, rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ruby-irb.i386 0:1.8.5-5.el5_4.8 set to be updated
--> Processing Dependency: ruby = 1.8.5-5.el5_4.8 for package: ruby-irb
--> Finished Dependency Resolution
ruby-irb-1.8.5-5.el5_4.8.i386 from rhel-i386-server-5 has depsolving problems
  --> Missing Dependency: ruby = 1.8.5-5.el5_4.8 is needed by package ruby-irb-1.8.5-5.el5_4.8.i386 (rhel-i386-server-5)
Error: Missing Dependency: ruby = 1.8.5-5.el5_4.8 is needed by package ruby-irb-1.8.5-5.el5_4.8.i386 (rhel-i386-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest



Expected results:
Package is installed (is the specific version in depends really required?)


Additional info:
I couldn't find the ruby-irb package in bugtracker, so I'm filing it against ruby.

Comment 1 david 2011-06-06 14:54:57 UTC
This bug should have been filed under RHEL5, sorry for the mixup. I do not have permission to change the product.

Comment 3 Vít Ondruch 2011-06-07 11:13:51 UTC
(In reply to comment #0)
> ruby 1.8.5.114-1.fc6

Hello David, where did you got this Ruby version? It appears to be installed from Fedora Core 6? Try to uninstall Ruby and install the Ruby from RHEL repository.

And yes, the ruby-irb is strict about its requirements. It is subpackage of ruby package, that is also the reason why you cannot find ruby-irb component in BZ.

Comment 4 david 2011-06-07 11:24:10 UTC
Hi Vít,

Thank you for your response. This package must have come from EPEL as that is the only 3rd party repository active on the machine (and I have not installed any packages manually). However I can't seem to find it in the EPEL repo now, and I was able to successfully downgrade to the current RHEL5 version.

Please close this bug and sorry for the unnecessary bugspam.

Comment 5 Vít Ondruch 2011-06-07 11:41:39 UTC
Well the EPEL policy [1] is just to extend RHEL, not replace packages. Not sure if there were days when RHEL-5 did not contained Ruby and they were provided just by EPEL.

[1] http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#Policy


Note You need to log in before you can comment on or make changes to this bug.