[clue-tech] RPM Error

mike havlicek mhavlicek1 at yahoo.com
Fri May 6 18:12:52 MDT 2005


--- Michael Robbert <mrobbert at Mines.EDU> wrote:
> 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.
> _______________________________________________
> CLUE-tech mailing list
> CLUE-tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
> 

rpm -qa | grep

Then rpm -q1lp if it is an existing package 
or rpm -qilf to find a package that something exists
whithin

or RTFM

-MIKE

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the clue-tech mailing list