Missing dependency already installed

Mohammed Morsi mmorsi at redhat.com
Mon Jun 28 18:36:24 UTC 2010


Howdy,
    I've been scratching my head over this problem for the last few days 
and figured it was time to get some help.

I'm trying to build Ruby on Rails v2.3.8 against Fedora 13 but am 
running into dependency issues. Namely the 'rubygem-activerecord' 
package (rails is simple a collection of this and a few other 
active*/action* packages) pulls in the 'rubygem-activesupport' package 
of the same version, but yum is failing to find it, even though it is 
installed. Ergo it results in this error:

   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

Note how it says 'rubygem-activesupport = 2.3.8' is required while 
rubygem-activesupport-2.3.8-1.fc13.noarch is installed. This is 
happening both on a stock F13 install and against mock setup to pull 
packages from Fedora and from a yum repo w/ the 
"rubygem-activesupport-2.3.8-1.fc13.noarch" package in it.

What could be the cause of this problem? Is it something that can easily 
be resolved? (without using the --skip-broken flag preferably)

    -Mo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20100628/5f3ca270/attachment.html 


More information about the devel mailing list