Emmanuel Seyman wrote:
On Sat, Jun 18, 2005 at 12:00:26AM -0400, Zoran Spasojevic wrote:I can nor run rpm as root. Whatever command I try to execute it prints the same statement.
[root@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
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