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

Yum Update Failure python-cjson

Yum Update Failure python-cjson


Cb Response 5.2.x, 5.3.x, 6.1.x


Yum Update fails with Requires: python-cjson = 1.0.5 message


The epel repository includes the incorrect version of the json decoder preventing yum from installing cjson 1.0.5


Error: Package: python-cb-coreservices- (@CarbonBlack)

[root@server ~]# yum update

Loaded plugins: fastestmirror

Setting up Update Process

Loading mirror speeds from cached hostfile

* base:

* epel:

* extras:

* updates:

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-

---> Package python-cjson.x86_64 0:1.1.0-9.el6 will be an update

--> Finished Dependency Resolution

Error: Package: python-cb-coreservices- (@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


Run yum with just the carbonblack repository:

yum --disablerepo="*" --enablerepo="CarbonBlack" update cb-enterprise

Or permanently disable the epel repository

  1. Remove or disable epel repositories:
    CentOS / RHEL: Delete Old Yum Repositories and Configuration Files
  2. Clear out prior yum data:
    yum clean all
  3. Attempt the update again:
    yum update cb-enterprise
Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Creation Date: