On Fri, Jul 21, 2017 at 11:39 AM, Tom Callaway <tcallawa at redhat.com> wrote:> On 07/21/2017 11:18 AM, Larry Martell wrote: >> I am trying to install R 3.4.0 on RHEL6. If I look here is it there: >> >> http://mirror.sjc02.svwh.net/fedora-epel/6/x86_64/ >> >> I did this: >> >> sudo subscription-manager repos --enable rhel-6-server-optional-rpms >> sudo subscription-manager repos --enable rhel-6-server-extras-rpms >> wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm >> rpm epel-release-latest-6.noarch.rpm > > Try this instead: > > rpm -Uvh epel-release-latest-6.noarch.rpmThat gave me: package epel-release-6-8.noarch is already installed> You also may want to install from epel-testing, 3.4.1 is in there. > > sudo yum --enablerepo=epel-testing install RThat gave me: Error getting repository data for epel-testing, repository not found
Hmmm. When I look at the contents of epel-release-latest-6.noarch.rpm, I see: /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 /etc/rpm/macros.ghc-srpm /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel.repo /usr/share/doc/epel-release-6 /usr/share/doc/epel-release-6/GPL Do you have those .repo files in /etc/yum.repos.d/ ? ~tom On Fri, Jul 21, 2017 at 11:41 AM, Larry Martell <larry.martell at gmail.com> wrote:> On Fri, Jul 21, 2017 at 11:39 AM, Tom Callaway <tcallawa at redhat.com> > wrote: > > On 07/21/2017 11:18 AM, Larry Martell wrote: > >> I am trying to install R 3.4.0 on RHEL6. If I look here is it there: > >> > >> http://mirror.sjc02.svwh.net/fedora-epel/6/x86_64/ > >> > >> I did this: > >> > >> sudo subscription-manager repos --enable rhel-6-server-optional-rpms > >> sudo subscription-manager repos --enable rhel-6-server-extras-rpms > >> wget https://dl.fedoraproject.org/pub/epel/epel-release-latest- > 6.noarch.rpm > >> rpm epel-release-latest-6.noarch.rpm > > > > Try this instead: > > > > rpm -Uvh epel-release-latest-6.noarch.rpm > > That gave me: > > package epel-release-6-8.noarch is already installed > > > You also may want to install from epel-testing, 3.4.1 is in there. > > > > sudo yum --enablerepo=epel-testing install R > > That gave me: > > Error getting repository data for epel-testing, repository not found >[[alternative HTML version deleted]]
On Fri, Jul 21, 2017 at 11:44 AM, Tom Callaway <tcallawa at redhat.com> wrote:> Hmmm. When I look at the contents of epel-release-latest-6.noarch.rpm, I > see: > > /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 > /etc/rpm/macros.ghc-srpm > /etc/yum.repos.d/epel-testing.repo > /etc/yum.repos.d/epel.repo > /usr/share/doc/epel-release-6 > /usr/share/doc/epel-release-6/GPL > > Do you have those .repo files in /etc/yum.repos.d/ ?This is the contents of that dir: docker.repo jenkins.repo mysql-community.repo mysql-community-source.repo redhat.repo remi.repo rhel-source.repo rhscl-python27-epel-6-x86_64.repo scl.repo> On Fri, Jul 21, 2017 at 11:41 AM, Larry Martell <larry.martell at gmail.com> > wrote: >> >> On Fri, Jul 21, 2017 at 11:39 AM, Tom Callaway <tcallawa at redhat.com> >> wrote: >> > On 07/21/2017 11:18 AM, Larry Martell wrote: >> >> I am trying to install R 3.4.0 on RHEL6. If I look here is it there: >> >> >> >> http://mirror.sjc02.svwh.net/fedora-epel/6/x86_64/ >> >> >> >> I did this: >> >> >> >> sudo subscription-manager repos --enable rhel-6-server-optional-rpms >> >> sudo subscription-manager repos --enable rhel-6-server-extras-rpms >> >> wget >> >> https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm >> >> rpm epel-release-latest-6.noarch.rpm >> > >> > Try this instead: >> > >> > rpm -Uvh epel-release-latest-6.noarch.rpm >> >> That gave me: >> >> package epel-release-6-8.noarch is already installed >> >> > You also may want to install from epel-testing, 3.4.1 is in there. >> > >> > sudo yum --enablerepo=epel-testing install R >> >> That gave me: >> >> Error getting repository data for epel-testing, repository not found > >