Yum install Error: Error: rpmdb open failed [How to Solve]

Yum to install the package and prompt the error “error: rpmdb open failed”.

Solution:

rpm --rebuilddb

Read More: