IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Yum Update Failure python-cjson

Yum Update Failure python-cjson

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

  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
Author:
Creation Date:
‎03-08-2017
Views:
1219
Contributors