No rpm, no sound, no zip, and no kdm image.

Robin Laing Robin.Laing at drdc-rddc.gc.ca
Tue Jun 21 20:54:31 UTC 2005


Zoran Spasojevic wrote:
> Emmanuel Seyman wrote:
> 
>> On Sat, Jun 18, 2005 at 12:00:26AM -0400, Zoran Spasojevic wrote:
>>  
>>
>>> [root at zoran download]# rpm -ivh RealPlayer10GOLD.rpm
>>> rpmdb: unable to initialize mutex: Function not implemented
>>> rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock: 
>>> Function not implemented
>>> error: db4 error(38) from dbenv->open: Function not implemented
>>> error: cannot open Packages index using db3 - Function not 
>>> implemented (38)
>>> error: cannot open Packages database in /var/lib/rpm
>>>   
>>
>>
>> Your rpm database has been corrupted.
>> Make sure rpm isn't running and make a backup copy of /var/lib/rpm.
>> then run the command "rpm --rebuilddb". That should fix it.
>>
>> Emmanuel
>>
>>  
>>
> I can nor run rpm   as root. Whatever command I try to execute it prints 
> the same statement.
> Rpm seems to work when I start the system in run level 1.
> In run level 1 I executed this command and it finished without an error 
> but as root, it still
> gave the same error. This corruption of the database seem to occur even 
> if I change desktops:
> switching between kde and gnome. There is some fundamental issue with 
> FC4 that is
> causing this to occur.
> Thanks for your suggestion
> 

There was a missing step, delete all the info in /var/lib/rpm after 
making a backup and then rebuild.  Or better yet, just move /var/lib/rpm.

Also did you make sure that rpm was not running?

-- 
Robin Laing




More information about the users mailing list