Bug 1225250 - sagemath cannot be installed in F22, missing dependency rpy, not rebuilt for R-3.2.0
Summary: sagemath cannot be installed in F22, missing dependency rpy, not rebuilt for ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpy
Version: 22
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 00:27 UTC by Paul DeStefano
Modified: 2015-07-23 11:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-23 11:03:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul DeStefano 2015-05-27 00:27:22 UTC
Description of problem:
Sagemath cannot be installed in F22 due to missing dependency, rpy.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Upgrade F21 to F22 using fedup
2. fedup reports problems with package rpy
3. After upgrade, remove old rpy package.  This forces sagemath to also be removed.
4. try to install sagemath, which failes.

Actual results:

$ sudo -i dnf install sagemath.x86_64
Error: package sagemath-6.4.1-4.fc22.x86_64 requires rpy, but none of the providers can be installed

Expected results:
sagemath should be installed

Additional info:

Comment 1 Paul DeStefano 2015-05-27 00:35:01 UTC
BTW, something similar happened with F21, too.  I had to remove and reinstall sagemath several times and force the proper architecture because yum kept selecting i686.  This is happening with dnf, how, too for this package.

Comment 2 Brallan Jesús Aguilar Rivera 2015-05-28 10:21:18 UTC
I have the same issue :(

Comment 3 Paulo Andrade 2015-05-30 21:13:38 UTC
Hi, can you confirm it is working now?

I am afraid the issue is not sagemath but R/rpy or dnf.

You may try to force install of rpy manually before,
or download it first from some mirror and install
with rpm, for example:

http://mirrors.kernel.org/fedora/releases/22/Everything/x86_64/os/Packages/r/rpy-2.5.6-2.fc22.x86_64.rpm

[link may be short lived]

Comment 4 Brallan Jesús Aguilar Rivera 2015-05-31 01:38:29 UTC
(In reply to Paulo Andrade from comment #3)
> Hi, can you confirm it is working now?
> 
> I am afraid the issue is not sagemath but R/rpy or dnf.
> 
> You may try to force install of rpy manually before,
> or download it first from some mirror and install
> with rpm, for example:
> 
> http://mirrors.kernel.org/fedora/releases/22/Everything/x86_64/os/Packages/r/
> rpy-2.5.6-2.fc22.x86_64.rpm
> 
> [link may be short lived]

Right now it doesn't work. First, I tried to install sagemath with dnf but:
'Error: package sagemath-6.4.1-4.fc22.i686 requires rpy, but none of the providers can be installed'

Then, with rpy: 'Error: package rpy-2.5.6-2.fc22.i686 requires R-core = 3.1.3, but none of the providers can be installed'

I haven't tried to install rpy manually with rpm.

Comment 5 Paul DeStefano 2015-06-02 17:32:52 UTC
So, rpy-2.5.6-2 is compatible with R-core 3.2, but the RPM's dependencies are incorrect.  Is that what you're saying?

I don't know how to force dnf to install rpy, just not familiar with options, yet.  But, I did find this route: dnf --allowerasing install sagemath.  This sets up a path that dnf will do.  I haven't let it do that, but I just wanted to say that it will do it.  It says it's going to downgrade R* to 3.1.3, then install rpy and sagemath.  Is this a good option?  Or, do you think I'd be better off forcing rpy to install with R 3.2.

Comment 6 Paulo Andrade 2015-06-04 18:06:26 UTC
Hi Paul,
Sorry for the delay, I checked what is available, and pending updates.
What happens is that an update of R-3.2 did not update rpy.
Previous updates were done updating dependencies, so, this bug
is actually on rpy.
I suggest for the moment to use R 3.1.3 until an rpy that supports
R-3.2 is made available as an update.

I will change component of this bug report.

Comment 7 exaatto 2015-06-15 07:23:42 UTC
Hi Paulo,

I also came across this same issue, and dug a bit deeper into it:

1. The rpy-2.5.6 package in repo depends on R-3.1.3, and is not compatible with R-3.2.0. I checked out rpy-2.5.6 from upstream, it compiled and installed, but failed the unittest (python -m rpy2.tests ... ... FAILED (errors=4, skipped=9, expected failures=1) ).
2. The upstream of rpy just updated a new version of rpy-2.6.0 which works fine with R-3.2.0, at least on my box. The unittest also pass (python -m rpy2.tests ... ... OK (skipped=10, expected failures=1) ).
3. BTW, the meta data of rpy package is outdated, the upstream url is now
    https://bitbucket.org/rpy2/rpy2/
  instead of
    https://bitbucket.org/lgautier/rpy2

Hope it helps.


(In reply to Paulo Andrade from comment #6)
> Hi Paul,
> Sorry for the delay, I checked what is available, and pending updates.
> What happens is that an update of R-3.2 did not update rpy.
> Previous updates were done updating dependencies, so, this bug
> is actually on rpy.
> I suggest for the moment to use R 3.1.3 until an rpy that supports
> R-3.2 is made available as an update.
> 
> I will change component of this bug report.

Comment 8 José Matos 2015-07-23 11:03:43 UTC
I am closing this report as rpy has been built for F22 for some time. :-)


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