Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

EDR: Cbupgrade Aborted Due to Missing Postrgresql10

EDR: Cbupgrade Aborted Due to Missing Postrgresql10

Environment

  • EDR Server: 7.6.0

Symptoms

After upgrading to EDR 7.6.0, the cbupgrade tool fails with the error "The cb-enterprise postgresql10 dependencies are required for this upgrade."

User-added image

Cause

The 'yum update cb-enterprise' installed postgresql13 properly, but removed postgresql10.
 

Resolution

Perform the following steps on the Primary EDR server. These steps are not needed on minions in clustered environments. 

1) Modify /etc/yum.repo.d/CarbonBlack.repo based on the EDR version you upgraded from in the table in Additional Notes.  Comment out the stable line and add the baseurl like below:
#baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch
baseurl=https://yum.distro.carbonblack.io/enterprise/7.5.2-1/$releasever/$basearch
2) Run yum:
yum clean all
yum install postgresql10 postgresql10-libs postgresql10-server
3) Run cbupgrade:
/usr/share/cb/cbupgrade
4) Once cbupgrade completes successfully, remove the added baseurl and uncomment the stable line in /etc/yum.repo.d/CarbonBlack.repo.
baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch
5) Also after cbupgrade completes successfully,  remove postgres10 packages.
yum remove postgresql10 postgresql10-libs postgresql10-server

Additional Notes


Related Content


Labels (1)
Was this article helpful? Yes No
100% helpful (2/2)
Article Information
Author:
Creation Date:
‎12-14-2021
Views:
798
Contributors