error: cannot open Packages database in /var/lib/rpm (Doc ID 2294807.1)

Last updated on AUGUST 10, 2017

Applies to:

Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kerne [4.1.12] and later
Information in this document applies to any platform.

Symptoms

 The following errors occur when trying to run rpm or yum commands:

 

 



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms