My Oracle Support Banner

Oracle Linux: rpm/yum/dnf Commands Fails with "error: cannot open Packages database in /var/lib/rpm" (Doc ID 823143.1)

Last updated on OCTOBER 09, 2023

Applies to:

Linux OS - Version Enterprise Linux 3.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Oracle Cloud Infrastructure - Database Service
Linux x86
Linux x86-64

Symptoms

The following errors appear while using rpm/up2date/yum/dnf commands:

 

Cause

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
Symptoms
Cause
Solution
References

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