Bug 143563

Summary: up2date causes rpm db error.
Product: Red Hat Enterprise Linux 3 Reporter: Xander D Harkness <harkness>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED DUPLICATE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: marco, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:07: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 Xander D Harkness 2004-12-22 12:09:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
I have my machines set to automatically update from RHN using up2date.

I am using up2date-4.2.38-1

rpm -q up2date
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
package up2date is not installed

Version-Release number of selected component (if applicable):
up2date-4.2.38-1 rpm-4.2.3-13

How reproducible:
Always

Steps to Reproduce:
1. Have RHEL3 machines with full pre U4 update
2. Set machine to automatically update from RHN
3. The machine will not complete U4 update owing to error on rpm db
    

Actual Results:  rpm -q up2date
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
package up2date is not installed


Expected Results:  rpm -q rpm
rpm-4.2.3-13

Additional info:

To fix the problem remove the following files:
/var/lib/rpm/__db.00[1,2,3]

Comment 1 Xander D Harkness 2004-12-22 14:33:06 UTC

*** This bug has been marked as a duplicate of 143532 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:07:46 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.