My Oracle Support Banner

Executing rpm or yum Commands on the Server Fails with the Error "error: cannot open Packages database in /var/lib/rpm" (Doc ID 2294807.1)

Last updated on JUNE 18, 2022

Applies to:

Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kernel [4.1.12] and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


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




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.