Why does the 'yum update' command fail with a conflict between the packages "apache-commons-codec" and "jakarta-commons-codec"?

Solution Verified - Updated -

Issue

  • Command yum update fails with following conflict errors.
yum --exclude=man-pages-3.22-20.el6.noarch update
Will result into:
Transaction Check Error:
  file /usr/share/java/commons-codec.jar conflicts between attempted installs of apache-commons-codec-1.7-2.el6_3.x86_64 and jakarta-commons-codec-0:1.3-11.7.el6.x86_64
  • It complains about a conflict between packages which are not installed.
[root@hostname ~]# rpm -qa | grep apache-commons-codec
apache-commons-codec-1.4-9.1_redhat_1.ep6.el6.1.noarch
[root@hostname ~]# rpm -qa |grep  jakarta-commons-codec
[root@hostname ~]#

Environment

  • Red Hat Enterprise Linux 6
  • Yum
  • Red Hat Enterprise Virtualization 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.