RPM

Thomas Cameron thomas.cameron at camerontech.com
Fri May 27 20:26:24 UTC 2005


Paul wrote:

>Hi,
>
>  
>
>>>Is there a way to fix rpm when it constantly says it cannot access the
>>>database in /var/lib/rpm?
>>>      
>>>
>>Without error messages it's a little hard to say exactly what you are
>>seeing.
>>    
>>
>
>rpmdb : Program version 4.2 does not match environment version
>error : db4 error (22) from dbenv->open : Invalid argument
>error : cannot open package index using db3 - invalid argument (22)
>error : cannot open packages in /var/lib/rpm
>
>I did as you suggested and wiped the __db* files and did a rpm --rebuild
>-vv, but it looks more like a version number/rpm version problem.
>
>Any help appreciated. I'm getting annoyed with my other having to use my
>PC!
>
>TTFN
>
>Paul
>  
>
IIRC I rebooted and that problem went away.

Thomas




More information about the test mailing list