Bug 54083

Summary: rpmdb: Program version 3.3.4 doesn't match environment version 3.3.11
Product: [Retired] Red Hat Linux Reporter: Juan Carlos Orrego <jcorrego>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-27 05:51:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juan Carlos Orrego 2001-09-27 05:50:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.10 i686; Nav)

Description of problem:
I get errors performin any rpm operation. for example:
rpm -qa, and i get:
rpmdb: Program version 3.3.4 doesn't match environment version 3.3.11
error: db3 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.su -
2.rpm -qa
3.
	

Actual Results:  rpmdb: Program version 3.3.4 doesn't match environment
version 3.3.11
error: db3 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)

Additional info:

Comment 1 Jeff Johnson 2001-09-27 11:29:04 UTC
Do
    rm -f /var/lib/rpm/__db*
to eliminate the versioned cache files.