Why does the redhat-upgrade-tool fails with 'DB_VERSION_MISMATCH' error?

Solution Verified - Updated -

Issue

  • The upgrade process terminates after running redhat-upgrade-tool and rebooting into the upgrade kernel, showing the following message

    upgrade[4299]: error db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version      mismatch upgrade[4299]: error could not open Packages database in /sysroot/var/lib/rpm
    

Environment

  • Red Hat Enterprise Linux 6
  • redhat-upgrade-tool

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