[R-sig-Fedora] Installing R on CentOS 8
Roger Bos
roger@bo@ @end|ng |rom gm@||@com
Tue May 25 19:34:51 CEST 2021
All,
If I remove openblas and openblas-threads and then try to install it,
dnf wants to install version 0.3.3-2.el8, but for R I need version
0.3.3-5.el8. I don't know how to force it to install the newer version.
Can anyone help on this front?
Thanks,
Roger
[bosr using rth.ad.rothschild.com@usd1sapp101 ~]$ sudo dnf install openblas
Last metadata expiration check: 0:39:47 ago on Tue 25 May 2021 06:50:01 PM
CEST.
Dependencies resolved.
=================================================================================================
Package Architecture Version Repository
Size
=================================================================================================
Installing:
openblas x86_64 0.3.3-2.el8
InstallMedia-AppStream 4.3 M
Transaction Summary
=================================================================================================
Install 1 Package
Total size: 4.3 M
Installed size: 31 M
Is this ok [y/N]: N
On Tue, May 25, 2021 at 9:36 AM Iñaki Ucar <iucar using fedoraproject.org> wrote:
> On Tue, 25 May 2021 at 13:34, Roger Bos <roger.bos using gmail.com> wrote:
> >
> > Thanks for your reply. As the paste below shows, when I try to enable
> "powertools", I get an error message of "no matching repo". Mine seems to
> be proper case "PowerTools". That command doesn't return anything, so I
> assume it worked, but "dnf update" still returns the same error. Any
> further suggestion greatly appreciated!
> >
> > [bosr using rth.ad.rothschild.com@usd1sapp101 ~]$ dnf config-manager
> --set-enabled powertools
> > Error: This command has to be run under the root user.
> > [bosr using rth.ad.rothschild.com@usd1sapp101 ~]$ sudo dnf config-manager
> --set-enabled powertools
> > Error: No matching repo to modify: powertools.
> > [bosr using rth.ad.rothschild.com@usd1sapp101 ~]$ sudo dnf config-manager
> --set-enabled PowerTools
> > [bosr using rth.ad.rothschild.com@usd1sapp101 ~]$ sudo dnf update
> > CentOS-8 - AppStream
> 271 MB/s | 5.4 MB 00:00
> > CentOS-8 - Base
> 248 MB/s | 2.2 MB 00:00
> > CentOS-8 - PowerTools
> 5.1 MB/s | 2.0 MB 00:00
> > Extra Packages for Enterprise Linux Modular 8 - x86_64
> 594 kB/s | 610 kB 00:01
> > Extra Packages for Enterprise Linux 8 - x86_64
> 6.4 MB/s | 9.4 MB 00:01
> > Error:
> > Problem: package R-devel-4.0.5-1.el8.x86_64 requires R-core-devel =
> 4.0.5-1.el8, but none of the providers can be installed
> > - package R-core-devel-4.0.5-1.el8.x86_64 requires openblas-devel, but
> none of the providers can be installed
> > - cannot install the best update candidate for package
> R-devel-1-1.x86_64
> > - nothing provides openblas(x86-32) = 0.3.3-5.el8 needed by
> openblas-devel-0.3.3-5.el8.i686
> > - nothing provides openblas-threads(x86-32) = 0.3.3-5.el8 needed by
> openblas-devel-0.3.3-5.el8.i686
> > - nothing provides openblas(x86-64) = 0.3.3-5.el8 needed by
> openblas-devel-0.3.3-5.el8.x86_64
> > - nothing provides openblas-threads(x86-64) = 0.3.3-5.el8 needed by
> openblas-devel-0.3.3-5.el8.x86_64
> > (try to add '--skip-broken' to skip uninstallable packages or '--nobest'
> to use not only best candidate packages)
> > [bosr using rth.ad.rothschild.com@usd1sapp101 ~]$
>
> On second read, it's actually openblas and openblas-threads what's not
> found, which is weirder, because they're in AppStream. I don't know
> what's happening here, but it seems it's a configuration problem,
> because I cannot reproduce this in a docker container.
>
> Iñaki
>
> > On Tue, May 25, 2021 at 5:34 AM Iñaki Ucar <iucar using fedoraproject.org>
> wrote:
> >>
> >> On Tue, 25 May 2021 at 03:06, Roger Bos <roger.bos using gmail.com> wrote:
> >> >
> >> > I am trying to install R on my CentOS 8 server at work and getting an
> >> > error message about openblas. It seems I need
> openblas-0.3.3-5.el.x86_64.
> >> > I have openblas-0.3.3-2.el8.x86_64. I have added the EPEL repo and
> enabled
> >> > PowerTools. I would like to upgrade my openblas from 0..3.3-2 to
> 0.3.3-5,
> >> > but I don't know how. Or I could install a lower version of R that
> works
> >> > with 0.3.3-2, but I don't know Could someone please help me get
> past this
> >> > error?
> >> >
> >> > Thanks in advance, Roger.
> >> >
> >> > [RCOAdmin using usd1sapp101 ~]$ sudo yum install R
> >> > [sudo] password for RCOAdmin:
> >> > Last metadata expiration check: 0:07:14 ago on Tue 25 May 2021
> 02:51:46 AM
> >> > CEST.
> >> > Error:
> >> > Problem: package R-devel-4.0.5-1.el8.x86_64 requires R-core-devel =
> >> > 4.0.5-1.el8, but none of the providers can be installed
> >> > - package R-4.0.5-1.el8.x86_64 requires R-devel = 4.0.5-1.el8, but
> none
> >> > of the providers can be installed
> >> > - package R-core-devel-4.0.5-1.el8.x86_64 requires openblas-devel,
> but
> >> > none of the providers can be installed
> >> > - conflicting requests
> >> > - nothing provides openblas(x86-32) = 0.3.3-5.el8 needed by
> >> > openblas-devel-0.3.3-5.el8.i686
> >> > - nothing provides openblas-threads(x86-32) = 0.3.3-5.el8 needed by
> >> > openblas-devel-0.3.3-5.el8.i686
> >> > - nothing provides openblas(x86-64) = 0.3.3-5.el8 needed by
> >> > openblas-devel-0.3.3-5.el8.x86_64
> >> > - nothing provides openblas-threads(x86-64) = 0.3.3-5.el8 needed by
> >> > openblas-devel-0.3.3-5.el8.x86_64
> >> > (try to add '--skip-broken' to skip uninstallable packages or
> '--nobest' to
> >> > use not only best candidate packages)
> >>
> >> openblas-devel, which is in the powertools repo, is not found above,
> >> so it seems you don't actually have powertools enabled. Run:
> >>
> >> $ dnf config-manager --set-enabled powertools
> >>
> >> and try again, please.
> >>
> >> --
> >> Iñaki Úcar
>
>
>
> --
> Iñaki Úcar
>
[[alternative HTML version deleted]]
More information about the R-SIG-Fedora
mailing list