Getting error message cannot install the best update candidate for package oniguruma while trying to update the client

Solution Verified - Updated -

Issue

  • dnf update on a system fails with below error:

    Problem: problem with installed package oniguruma-devel-6.8.2-2.1.el8_9.x86_64
    9: package oniguruma-devel-6.8.2-2.1.el8_9.x86_64 from codeready-builder-for-rhel-8-x86_64-rpms requires oniguruma = 6.8.2-2.1.el8_9, but none of the providers can be installed
    10: package oniguruma-devel-6.8.2-2.1.el8_9.x86_64 from @System requires oniguruma = 6.8.2-2.1.el8_9, but none of the providers can be installed
    11: oniguruma-6.8.2-2.1.el8_9.i686 from rhel-8-for-x86_64-appstream-rpms  does not belong to a distupgrade repository
    12: cannot install both oniguruma-6.8.2-3.el8.x86_64 from rhel-8-for-x86_64-appstream-rpms and oniguruma-6.8.2-2.1.el8_9.x86_64 from @System
    13: cannot install the best update candidate for package oniguruma-6.8.2-2.1.el8_9.x86_64
    14: (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    

Environment

  • RHEL 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content