Bug 860161

Summary: Yum unable to solve ruby dependencies
Product: [Fedora] Fedora Reporter: Quinten Laureijs <qlaureij>
Component: yumAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ffesti, james.antill, maxamillion, packaging-team, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-25 19:34:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Quinten Laureijs 2012-09-25 07:13:51 UTC
Description of problem:

Yum unable to solve ruby dependencies


Version-Release number of selected component (if applicable):
# yum --version
3.4.3
  Installed: rpm-4.9.1.3-7.fc17.x86_64 at 2012-08-31 15:02
  Built    : Fedora Project at 2012-05-07 10:05
  Committed: Panu Matilainen <pmatilai> at 2012-05-07

  Installed: yum-3.4.3-29.fc17.noarch at 2012-09-18 10:59
  Built    : Fedora Project at 2012-08-28 14:32
  Committed: Zdenek Pavlas <zpavlas at redhat.com> at 2012-08-28
# cat /etc/fedora-release 
Fedora release 17 (Beefy Miracle)

How reproducible:


Steps to Reproduce:
1. 
2.
3.
  
Actual results:
 See additional info for output of yum update

Expected results:
 Updated ruby packages

Additional info:

Running Transaction Check
ERROR with transaction check vs depsolve:
ruby-irb = 1.8.7.358-1.fc15 is needed by (installed) ruby-rdoc-1.8.7.358-1.fc15.noarch
ruby(abi) = 1.8 is needed by (installed) rubygem-net-ssh-2.5.2-1.el6_2.noarch
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
ruby-rdoc-1.8.7.358-1.fc15.noarch has missing requires of ruby-irb = ('0', '1.8.7.358', '1.fc15')
rubygem-net-ssh-2.5.2-1.el6_2.noarch has missing requires of ruby(abi) = ('0', '1.8', None)
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2012-09-25.09-05.zrNYA8.yumtx

Comment 1 James Antill 2012-09-25 19:34:25 UTC
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
ruby-rdoc-1.8.7.358-1.fc15.noarch has missing requires of ruby-irb = ('0', '1.8.7.358', '1.fc15')
rubygem-net-ssh-2.5.2-1.el6_2.noarch has missing requires of ruby(abi) = ('0', '1.8', None)

...as yum says, there are two pre-existing deps. Solve those and everything will work.

Comment 2 Quinten Laureijs 2012-09-26 08:55:01 UTC
For the record;

Installing both dependencies did not work and generated the same error message.

# yum remove ruby-irb
# yum install ruby
# yum update

resolves this issue and update works.