incapaz de instalar o collectd no Rhel 7

0

Requisito para instalar o collectd para monitorar recursos. Etapas concluídas:

    yum install epel-release # this failed as pubilc key is not installed

     yum install --nogpgcheck epel-release # failed with error 

Transaction check error:      

    file /etc/rpm/macros.ghc-srpm from install of epel-release-6-8.noarch conflicts with file from package redhat-rpm-config-9.1.0-72.el7.noarch

    yum install --nogpgcheck --skip-broken collectd # failed with error

Packages skipped because of dependency problems:
    collectd-4.10.9-4.el6.x86_64 from epel

Error: Package: collectd-4.10.9-4.el6.x86_64 (epel)
           Requires: libyajl.so.1()(64bit)
Error: Package: collectd-4.10.9-4.el6.x86_64 (epel)
           Requires: libpython2.6.so.1.0()(64bit)

A pergunta: Eu instalei o repo epel Existe outro repo que eu deveria estar usando por causa do erro de conflito?

    
por Colinux 19.02.2018 / 13:00

1 resposta

4

unable to install collectd on Rhel 7

$ rpm -qa epel-release
epel-release-7-11.noarch

... Por favor, instale a versão correta do epel-release. Você tem a versão EL6, epel-release-6-8.noarch ... (e o errado collectd: collectd-4.10.9-4. el6 .x86_64).

epel-release link

Faça o download e instale: # cd Downloads/ && yum install ./epel-release-7-11.noarch.rpm

# yum install collectd : tenho a versão 5.8.0-1.el7

    
por 19.02.2018 / 14:04