[clue-tech] RPM Error

Michael Robbert mrobbert at Mines.EDU
Fri May 6 22:35:16 MDT 2005


I've seen stuff like that plenty of times. That is why I'm glad to be 
running Debian now. It looks like this is a known bug in RH Enterprise 3 
that is probably also in WBL 3. Here is a page with the work around:
http://www.linuxquestions.org/questions/archive/31/2005/01/2/273856

I don't know what is at the root of the problem, but this isn't the 
first time this has happened. I was having with RH9 I believe and that 
time I think that there was a locking issue that allowed the database to 
become corrupt in certain situations.

Good Luck with it!

Mike Robbert

Mike Staver wrote:
> Anybody seen this before with RPM?
> 
> [root at mail staver]# rpm -qa
> 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
> no packages
> 
> I'm using Whitebox Linux 3 was going to try upgrading to Cent OS 4 here 
> - but until I get this solved, I don't think it would work because Cent 
> OS would need to know what RPMs I have installed first.



More information about the clue-tech mailing list