systemadmin.es > Clustering > Error: Missing Dependency: libesmtp is needed by package pacemaker

Error: Missing Dependency: libesmtp is needed by package pacemaker

Al instalar un cluster con heartbeat 2 nos podemos encontrar con el siguiente error:

Error: Missing Dependency: libesmtp is needed by package pacemaker

Este error afecta al paquete pacemaker y no lo podremos instalar mediante yum:

# yum install -y pacemaker       
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.udl.es
 * extras: ftp.udl.es
 * updates: ftp.udl.es
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pacemaker.x86_64 0:1.0.10-1.4.el5 set to be updated
--> Processing Dependency: pacemaker-libs = 1.0.10-1.4.el5 for package: pacemaker
--> Processing Dependency: libesmtp for package: pacemaker
--> Processing Dependency: libpe_status.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libcib.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libtransitioner.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libpe_rules.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libcrmcommon.so.2()(64bit) for package: pacemaker
--> Processing Dependency: libcrmcluster.so.1()(64bit) for package: pacemaker
--> Processing Dependency: libstonithd.so.0()(64bit) for package: pacemaker
--> Processing Dependency: libpengine.so.3()(64bit) for package: pacemaker
--> Processing Dependency: libesmtp.so.5()(64bit) for package: pacemaker
--> Running transaction check
---> Package pacemaker.x86_64 0:1.0.10-1.4.el5 set to be updated
--> Processing Dependency: libesmtp for package: pacemaker
--> Processing Dependency: libesmtp.so.5()(64bit) for package: pacemaker
---> Package pacemaker-libs.x86_64 0:1.0.10-1.4.el5 set to be updated
--> Finished Dependency Resolution
pacemaker-1.0.10-1.4.el5.x86_64 from clusterlabs has depsolving problems
  --> Missing Dependency: libesmtp is needed by package pacemaker-1.0.10-1.4.el5.x86_64 (clusterlabs)
pacemaker-1.0.10-1.4.el5.x86_64 from clusterlabs has depsolving problems
  --> Missing Dependency: libesmtp.so.5()(64bit) is needed by package pacemaker-1.0.10-1.4.el5.x86_64 (clusterlabs)
Error: Missing Dependency: libesmtp is needed by package pacemaker-1.0.10-1.4.el5.x86_64 (clusterlabs)
Error: Missing Dependency: libesmtp.so.5()(64bit) is needed by package pacemaker-1.0.10-1.4.el5.x86_64 (clusterlabs)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

La explicación de este error es que el paquete libesmtp no se encuentra en el repositorio de CentOS o de RHEL sino que se encuentra en el EPEL. Por lo tanto pacemaker depende de EPEL para poder ser instalado. Simplemente deberemos instalar EPEL en la versión que nos interese, por ejemplo para RHEL/CentOS 5:

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

A continuación repitiendo el yum install veremos como se instala correctamente:

# yum install pacemaker -y
(...)
Installed:
  pacemaker.x86_64 0:1.0.10-1.4.el5                                                                                                                                                                           

Dependency Installed:
  libesmtp.x86_64 0:1.0.4-5.el5                                                                     pacemaker-libs.x86_64 0:1.0.10-1.4.el5                                                                    

Complete!

One comment to “Error: Missing Dependency: libesmtp is needed by package pacemaker”

  1. Hola,

    Sigo teniendo problemas al instalar pacemaker en Centos 5.9:

    Error: Missing Dependency: libgnutls.so.26 is needed by package pacemaker-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) is needed by package pacemaker-libs-1.1.9-2.7.x86_64 (haclustering)
    Error: Missing Dependency: libuuid.so.1(UUID_1.0)(64bit) is needed by package cluster-glue-libs-1.0.12-0.rc1.6.2.x86_64 (haclustering)
    Error: Missing Dependency: libxml2.so.2(LIBXML2_2.5.2) is needed by package pacemaker-libs-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libgnutls.so.26()(64bit) is needed by package pacemaker-cluster-libs-1.1.9-2.7.x86_64 (haclustering)
    Error: Missing Dependency: libc.so.6(GLIBC_2.9) is needed by package libqb0-0.14.4-1.3.i686 (haclustering)
    Error: Missing Dependency: libxml2.so.2(LIBXML2_2.4.30) is needed by package pacemaker-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by package pacemaker-libs-1.1.9-2.7.x86_64 (haclustering)
    Error: Missing Dependency: libxml2.so.2(LIBXML2_2.5.2)(64bit) is needed by package pacemaker-libs-1.1.9-2.7.x86_64 (haclustering)
    Error: Missing Dependency: libc.so.6(GLIBC_2.9)(64bit) is needed by package libqb0-0.14.4-1.3.x86_64 (haclustering)
    Error: Missing Dependency: libltdl.so.7()(64bit) is needed by package pacemaker-libs-1.1.9-2.7.x86_64 (haclustering)
    Error: Missing Dependency: libltdl.so.7 is needed by package pacemaker-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libgio-2.0.so.0 is needed by package pacemaker-libs-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libltdl.so.7 is needed by package pacemaker-cluster-libs-1.1.9-2.7.i686 (haclustering)
    Error: Missing Dependency: libxml2.so.2(LIBXML2_2.4.30) is needed by package cluster-glue-1.0.12-0.rc1.6.2.i686 (haclustering)
    Error: Missing Dependency: libcrypto.so.10 is needed by package cluster-glue-1.0.12-0.rc1.6.2.i686 (haclustering)
    Error: Missing Dependency: libuuid.so.1(UUID_1.0) is needed by package cluster-glue-libs-1.0.12-0.rc1.6.2.i686 (haclustering)

    He tratado lo poco que se, pero nada he resuelto.

    Saludos

Deja un comentario:

XHTML - Tags permitidos:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>