Missing dependency that is already installed

Mohammed Morsi mmorsi at redhat.com
Mon Jun 28 18:52:45 UTC 2010


Howdy,
    I've been scratching my head over this one for a few days now and 
figure I'd ask for some help.

I'm trying to build Ruby on Rails v 2.3.8 against Fedora 13. Rails 
itself simply pulls in various active* / action* packages, eg 
activerecord, activesupport, and a few more.

Activerecord itself depends on a activesupport rpm of the same version, 
and while I can build those both, activerecord is failing to install, 
saying that it cannot find the required activesupport dependency. eg

   1.
      yum install --nogpgcheck ruby-activerecord-2.3.8-3.fc13.noarch.rpm
   2.
      Loaded plugins: presto, refresh-packagekit
   3.
      Setting up Install Process
   4.
      Examining ruby-activerecord-2.3.8-3.fc13.noarch.rpm:
      ruby-activerecord-2.3.8-3.fc13.noarch
   5.
      Marking ruby-activerecord-2.3.8-3.fc13.noarch.rpm to be installed
   6.
      Resolving Dependencies
   7.
      --> Running transaction check
   8.
      ---> Package ruby-activerecord.noarch 0:2.3.8-3.fc13 set to be updated
   9.
      --> Processing Dependency: rubygem-activesupport = 2.3.8 for
      package: ruby-activerecord-2.3.8-3.fc13.noarch
  10.
      --> Finished Dependency Resolution
  11.
      Error: Package: ruby-activerecord-2.3.8-3.fc13.noarch
      (/ruby-activerecord-2.3.8-3.fc13.noarch)
  12.
      Requires: rubygem-activesupport = 2.3.8
  13.
      Installed: 1:rubygem-activesupport-2.3.8-1.fc13.noarch
      (@/rubygem-activesupport-2.3.8-1.fc13.noarch)
  14.
      Available: 1:rubygem-activesupport-2.3.5-1.fc13.noarch (fedora)
  15.
      You could try using --skip-broken to work around the problem
  16.
      You could try running: rpm -Va --nofiles --nodigest



This occurs both on a stock F13 install and via mock, setup to pull 
packages in from Fedora and a repo I built which includes the relevant 
activesupport package.

Any thoughts on why this is occurring? Also how to work around this 
(preferably without using the --skip-broken flag)?

If anyone wants to try this themselves, I uploaded the activerecord / 
activesupport rpms here

http://mo.morsi.org/files/rpms/rubygem-activesupport-2.3.8-3.fc13.src.rpm
http://mo.morsi.org/files/rpms/ruby-activerecord-2.3.8-3.fc13.src.rpm

Thanks alot,
   -Mo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20100628/51dc7979/attachment.html 


More information about the devel mailing list