dnf update fails with Nothing to do, though the newer package is available in the BaseOS repository of Red Hat Enterprise Linux 8

Solution Unverified - Updated -


  • The dnf update command could not update pcre2 package, but the newer package was available in the BaseOS repository.
# yum update pcre2
Dependencies resolved.
Nothing to do.


Red Hat Enterprise Linux 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