Bug 711107

Summary: ruby-rdoc from rhel5 not compatible with ruby from EPEL
Product: Red Hat Enterprise Linux 5 Reporter: david
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6CC: eng-i18n-bugs
Target Milestone: ---   
Target Release: 5.8   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-07 11:42:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 711102    
Bug Blocks:    

Description david 2011-06-06 14:51:01 UTC
Description of problem:
The ruby-rdoc 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-rdoc-1.8.5-5.el5_4.8.i386
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-rdoc package
  
Actual results:
root@pmonitor02 ~ # yum install ruby-rdoc
Loaded plugins: downloadonly, rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ruby-rdoc.i386 0:1.8.5-5.el5_4.8 set to be updated
--> Processing Dependency: ruby-irb = 1.8.5-5.el5_4.8 for package: ruby-rdoc
--> Processing Dependency: ruby = 1.8.5-5.el5_4.8 for package: ruby-rdoc
--> 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
---> Package ruby-rdoc.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-rdoc
--> 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)
ruby-rdoc-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-rdoc-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)
Error: Missing Dependency: ruby = 1.8.5-5.el5_4.8 is needed by package ruby-rdoc-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-rdoc package in bugtracker, so I'm filing it against ruby.

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

Comment 3 david 2011-06-07 11:24:53 UTC
This is not a bug, the referenced package is no longer found in EPEL. I was able to successfully downgrade to the RHEL5 version of ruby. Please close this bug and sorry for the unnecessary bugspam.