Bug 52362 - rpm is not working after upgrade
Summary: rpm is not working after upgrade
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: rpm   
(Show other bugs)
Version: roswell
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-23 03:03 UTC by sahag
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-23 14:22:35 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description sahag 2001-08-23 03:03:43 UTC
Description of Problem:
after upgrading to Roswell2 my rpm stopped woring.
this is the output that I get when executing rpm -q rpm

[root@ani sahak]# rpm -q rpm
rpmdb: Program version 3.3.11 doesn't match environment version 3.3.4
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:

Steps to Reproduce:
1. login as root
2. run any rpm query

Actual Results:

Expected Results:

Additional Information:

Comment 1 Sammy 2001-08-23 14:22:30 UTC
The same problem was solved for me by doing rpm --rebuilddb
though it is unusual since upto now I did not have to this.

Comment 2 Jeff Johnson 2001-08-23 15:52:39 UTC
	rm /var/lib/rpm/__db*

This is now done at rpm startup as of rpm-4.0.3-0.88.

Comment 3 Ed McKenzie 2001-08-31 02:17:46 UTC
rpm still does the complete hang bit for me, and it seems to happen more often
after I've hit ^C to interrupt an install ... this is with .93

Note You need to log in before you can comment on or make changes to this bug.