Version
Cb Response 5.2.x, 5.3.x, 6.1.x
Issue
Yum Update fails with Requires: python-cjson = 1.0.5 message
Cause
The epel repository includes the incorrect version of the json decoder preventing yum from installing cjson 1.0.5
Symptoms
Error: Package: python-cb-coreservices-5.2.5.161219.0941-1.x86_64 (@CarbonBlack) |
[root@server ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile * base: mirror.5ninesolutions.com * epel: mirror.nodesdirect.com * extras: mirror.jax.hugeserver.com * updates: reflector.westga.edu CarbonBlack | 2.9 kB 00:00 Resolving Dependencies --> Running transaction check ---> Package python-cjson.x86_64 0:1.0.5-5.el6 will be updated --> Processing Dependency: python-cjson = 1.0.5 for package: python-cb-coreservices-5.2.5.161219.0941-1.x86_64 ---> Package python-cjson.x86_64 0:1.1.0-9.el6 will be an update --> Finished Dependency Resolution Error: Package: python-cb-coreservices-5.2.5.161219.0941-1.x86_64 (@CarbonBlack) Requires: python-cjson = 1.0.5 Removing: python-cjson-1.0.5-5.el6.x86_64 (@epel) python-cjson = 1.0.5-5.el6 Updated By: python-cjson-1.1.0-9.el6.x86_64 (epel) python-cjson = 1.1.0-9.el6 Available: python-cjson-1.0.5-1.x86_64 (CarbonBlack) python-cjson = 1.0.5-1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest |
Solution
Run yum with just the carbonblack repository:
yum --disablerepo="*" --enablerepo="CarbonBlack" update cb-enterprise |
Or permanently disable the epel repository
- Remove or disable epel repositories:
CentOS / RHEL: Delete Old Yum Repositories and Configuration Files - Clear out prior yum data:
- Attempt the update again: