Version
This solution applies when installing or upgrading all versions of Carbon Black.
Issue
Installing or upgrading Carbon Black fails on RedHat installations indicating there is a dependency issue.
Symptoms
During the install/upgrade procedure, the following or similar message is observed in the console's standard out:
Error: Package: wxGTK-2.8.12-1.el6.x86_64 (CarbonBlack)
Requires: libwx_baseu-2.8.so.0(WXU_2.8.10)(64bit)
Cause
- The cause is that Carbon Black is not installed on CentOS. On a CentOS installation, the file will exist:
/etc/yum.repos.d/CentOS-Base.repo - Within the file there is an [extras] section, which allows other extra packages to be downloaded that Carbon Black requires. The necessary wxGTK package is retrieved from this [extras] repository.
- On an OS that is not CentOS, for example RedHat, the CentOS-Base.repo file will not exist. This means the wxGTK package must be retrieved elsewhere. Please refer to the Server Sizing Guide for more details on supported operating systems.
- To confirm a CentOS versus RedHat installation, review the output from the command:
# lsb_release -a
Solution
To download and install the package on RedHat
- Refer to this FAQ EPEL/FAQ before installing the EPEL package.
- Download epel-release-6-8.noarch.rpm RPM from the URL above, where 6.8 is the recent EPEL release for RedHat 6.
- Copy the RPM to your Carbon Black Enterprise Server and run the following to install:
# rpm -Uvh <rpm_file>
- Make sure enabled=1 is set in the [epel] section in the new file /etc/yum.repos.d/epel.repo:
# grep enabled /etc/yum.repos.d/epel.repo
enabled=1
enabled=0
enabled=0
- Perform the Carbon Black installation or upgrade again, and confirm now the wxGTK package is retrieved from the new EPEL repository.
- Once the Carbon Black installation or upgrade is complete, disable using this new EPEL repository by editing the file /etc/yum.repos.d/epel.repo and changing enabled=1 to enabled=0.