Bug 112358
| Summary: | 'rpmdb: Program version 4.2 doesn't match environment version' | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Tim Waugh <twaugh> |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | john.ellson, nobody+pnasrat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-12-18 12:35:37 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
Tim Waugh
2003-12-18 12:00:37 UTC
Note working fine here under 2.4.22-1.2132.nptl + ea patch and glibc 2.3.3-1 rpm-4.2.2-0.6 (from cvs.colug.net) db4-4.1.25-14 Going to test against a vanilla 2.6.0 kernel shortly. Should add twaugh was seeing these errors: error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages database in /var/lib/rpm and 'rpmdb: Program version 4.2 doesn't match environment version' Try
rm -f /var/lib/rpm/__db*
This is done in %post, but there was a build of -0.5
that did not have /usr/lib/rpm/rpmdb_stat in the rpm
package where needed. I suspect sopwith grabbed that.
Does that fix?
Yes, that fixes it. Thanks. OK. A shame that the later -0.5 wasn't grabbed. Oh well, -0.6 today. *** Bug 112378 has been marked as a duplicate of this bug. *** |