Discussion:
Installing R on RHEL7
Larry Martell
2017-07-17 22:37:15 UTC
Permalink
I am trying to install R on RHEL7. It fails with a lot of messages of
this form about different packages:

Error: Package: glibc-2.17-55.el7.i686 (base)
Requires: glibc-common = 2.17-55.el7
Installed: glibc-common-2.17-106.el7_2.4.x86_64 (@rhel-7-server-rpms)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-55.el7.x86_64 (base)
glibc-common = 2.17-55.el7

But if I then try to install what it says it wants, I get that the
package is already there, e.g.:

$ sudo yum install glibc-common-2.17-55.el7.x86_64
Loaded plugins: langpacks, product-id, search-disabled-repos,
subscription-manager
Package matching glibc-common-2.17-55.el7.x86_64 already installed.
Checking for update.
Nothing to do

I've googled this, and it seems a lot of folks have had issues doing
the R install on RHEL 7. I've found at least 5 different sets of
instructions for doing it, but I tried them all and they all fail with
different dependencies issues.

Has anyone here successfully installed R and can help me?

Thanks!
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
R P Herrold
2017-07-17 22:54:39 UTC
Permalink
Post by Larry Martell
I am trying to install R on RHEL7. It fails with a lot of messages of
R is in the EPEL (7) adjunct archive

[***@centos-7 ~]$ sudo su -
[sudo] password for herrold:
Last login: Mon Jul 17 18:04:09 EDT 2017 on tty1
[***@centos-7 ~]# yum install R
...
Package R-3.4.0-2.el7.x86_64 already installed and latest version

# so I uninstall it
[***@centos-7 ~]# rpm -e R
[***@centos-7 ~]# yum install R
...
=================================================================================
Package Arch Version
Repository Size
=================================================================================
Installing:
R x86_64 3.4.0-2.el7 epel
27 k

----------

you may need to enable the epel repository ... as I run
binaries from the CentOS sources rebuild project,
rather than RHEL from Red Hat, I do not know the package name
to do that -- but see:

https://fedoraproject.org/wiki/EPEL

see particularly the: NOTE for RHN users

-- Russ herrold
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Larry Martell
2017-07-17 23:31:18 UTC
Permalink
Post by R P Herrold
Post by Larry Martell
I am trying to install R on RHEL7. It fails with a lot of messages of
R is in the EPEL (7) adjunct archive
Last login: Mon Jul 17 18:04:09 EDT 2017 on tty1
...
Package R-3.4.0-2.el7.x86_64 already installed and latest version
# so I uninstall it
...
=================================================================================
Package Arch Version
Repository Size
=================================================================================
R x86_64 3.4.0-2.el7 epel
27 k
----------
you may need to enable the epel repository ... as I run
binaries from the CentOS sources rebuild project,
rather than RHEL from Red Hat, I do not know the package name
https://fedoraproject.org/wiki/EPEL
see particularly the: NOTE for RHN users
Thanks. I had seen something about EPEL in a few of the many SO posts
I read, and I had done this:

sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

The NOTE for RHN users section mentions that I need the optional and
extras packages, but I have not figured out how to install them (I am
not a sys admin) I found this:

https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/supplementary-repos

but when I tried what I read there I get:

This system has no repositories available through subscriptions.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Larry Martell
2017-07-18 16:41:08 UTC
Permalink
Post by R P Herrold
Post by Larry Martell
I am trying to install R on RHEL7. It fails with a lot of messages of
R is in the EPEL (7) adjunct archive
Last login: Mon Jul 17 18:04:09 EDT 2017 on tty1
...
Package R-3.4.0-2.el7.x86_64 already installed and latest version
# so I uninstall it
...
=================================================================================
Package Arch Version
Repository Size
=================================================================================
R x86_64 3.4.0-2.el7 epel
27 k
----------
you may need to enable the epel repository ... as I run
binaries from the CentOS sources rebuild project,
rather than RHEL from Red Hat,
Are you running the CentOS binaries on RHEL7? If so, can you share
with me how you do that?
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
R P Herrold
2017-07-18 17:07:31 UTC
Permalink
Post by Larry Martell
Are you running the CentOS binaries on RHEL7? If so, can you share
with me how you do that?
There was a long thread just this morning on something similar
to this on the epel-devel mailing list -- two well trusted
'old hands' were guiding a relatively newer admin [not that
Claessen, Paul is all that new -- he had been active for years
and years, and was just trying to solve a complex deployment
issue]: Manuel Wolfshant and Stephen J Smoogen (/me waves to
them ...) fwiw, I am sort of an old hand in this space as well


This is your RHEL install, and the actions taken by you as
root will change that unit away from stock RHEL (adding EPEL)

I strongly urge you to read:
https://fedoraproject.org/wiki/EPEL

and to join the mailing list at:
https://lists.fedoraproject.org/archives/list/epel-***@lists.fedoraproject.org/thread/SMZRTZGFDKVKA2FEZE5WOVDC553WJ3MF/

which is the thread I mentioned

Basically just run as root -- and per the link I pointed you
to, also enabling the RHEL extras archive ... PLEASE read
that fine wiki page:

rpm -Uvh \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

and as needed 'enabling' in yum that archive, and then doing
the install as I showed in the earlier email in this thread

I am not being coy here, but rather cautious. I DONT HAVE and
probably will never buy a license for RHEL for open source
politics reasons out of scope here, so I have not done the
exact task you seek to do, lacking a copy of the binary RHEL

-- Russ herrold
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
k***@kirchners.com
2017-07-17 22:43:21 UTC
Permalink
It looks like you have the x86_64 version installed and your package wants
the i686 version installed. What happens if you:

sudo yum install glibc-common-2.17-55.el7.i686

?

-Ken
Post by Larry Martell
I am trying to install R on RHEL7. It fails with a lot of messages of
Error: Package: glibc-2.17-55.el7.i686 (base)
Requires: glibc-common = 2.17-55.el7
Installed: glibc-common-2.17-106.el7_2.4.x86_64
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-55.el7.x86_64 (base)
glibc-common = 2.17-55.el7
But if I then try to install what it says it wants, I get that the
$ sudo yum install glibc-common-2.17-55.el7.x86_64
Loaded plugins: langpacks, product-id, search-disabled-repos,
subscription-manager
Package matching glibc-common-2.17-55.el7.x86_64 already installed.
Checking for update.
Nothing to do
I've googled this, and it seems a lot of folks have had issues doing
the R install on RHEL 7. I've found at least 5 different sets of
instructions for doing it, but I tried them all and they all fail with
different dependencies issues.
Has anyone here successfully installed R and can help me?
Thanks!
--
redhat-list mailing list
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Larry Martell
2017-07-17 23:06:05 UTC
Permalink
Post by k***@kirchners.com
It looks like you have the x86_64 version installed and your package wants
sudo yum install glibc-common-2.17-55.el7.i686
No package glibc-common-2.17-55.el7.i686 available.
Post by k***@kirchners.com
Post by Larry Martell
I am trying to install R on RHEL7. It fails with a lot of messages of
Error: Package: glibc-2.17-55.el7.i686 (base)
Requires: glibc-common = 2.17-55.el7
Installed: glibc-common-2.17-106.el7_2.4.x86_64
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-55.el7.x86_64 (base)
glibc-common = 2.17-55.el7
But if I then try to install what it says it wants, I get that the
$ sudo yum install glibc-common-2.17-55.el7.x86_64
Loaded plugins: langpacks, product-id, search-disabled-repos,
subscription-manager
Package matching glibc-common-2.17-55.el7.x86_64 already installed.
Checking for update.
Nothing to do
I've googled this, and it seems a lot of folks have had issues doing
the R install on RHEL 7. I've found at least 5 different sets of
instructions for doing it, but I tried them all and they all fail with
different dependencies issues.
Has anyone here successfully installed R and can help me?
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...