EDR: libreadline.so.5() Yum Dependency Error
search cancel

EDR: libreadline.so.5() Yum Dependency Error

book

Article ID: 287907

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

When running a 'yum update cb-enterprise' on an el6 server, the following is given
 
--> Processing Dependency: libreadline.so.5()(64bit) for package: socat-1.7.2.3- 1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: socat-1.7.2.3-1.el6.x86_64 (CarbonBlack)
Requires: libreadline.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

 

Environment

  • EDR: All Versions
  • Linux Server: CentOS 6

Cause

EL6 is end of life and no longer updated by the vendor. 

Resolution

  1. Backup the current Base repo
    mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
  2. Create a new CentOS
    touch /etc/yum.repos.d/CentOS-Base.repo
  3. Edit the new CentOS-Base.repo file by adding the below to use the CentOS vault repos. 
    [base]
    name=CentOS-$releasever - Base
    baseurl=http://vault.centos.org/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    enabled=1
    metadata_expire=never
    
    [updates]
    name=CentOS-$releasever - Updates
    baseurl=http://vault.centos.org/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    enabled=1
    metadata_expire=never
    
    [extras]
    name=CentOS-$releasever - Extras
    baseurl=http://vault.centos.org/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    enabled=1
    metadata_expire=never
    
    [contrib]
    name=CentOS-$releasever - Contrib
    baseurl=http://vault.centos.org/$releasever/contrib/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    enabled=0
    metadata_expire=never
    
    [centosplus]
    name=CentOS-$releasever - CentOSPlus
    baseurl=http://vault.centos.org/$releasever/centosplus/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
    enabled=0
    metadata_expire=never
  4. Clean the cache
    yum clean all

Additional Information

  • VMware Carbon Black support is not responsible for any changes made to the support of CentOS 6's vault and the ability to find dependencies hosted by the OS vendor. 
  • The vaults are not updated with new security updates, but provide a way to get the supported latest versions of libraries. 
  • Updating to CentOS/RHEL 7 is recommended to continue with security updates and latest versions of libraries being updated.