first try this
 
rm -rf /var/lib/rpm/__*
rpm --rebuilddb
 
if don“t fix the problem try this
 
 
 
 
echo "%__dbi_cdb  create cdb private mpool mp_mmapsize=16Mb" > /etc/rpm/macros
 
rpm -qa
 
upgrade your FC4 using yum and remove the line "%__dbi_cdb  create cdb private mpool mp_mmapsize=16Mb" from /etc/rpm/macros

Itamar Reis Peixoto
+55 (34) 3238 3845
e-mail : [EMAIL PROTECTED]
----- Original Message -----
From: Etay Meiri
Sent: Friday, October 07, 2005 6:45 AM
Subject: [uml-devel] RPM problem in UML rootfs of FC4

Hi,

Was anyone successful in getting rpm running in the FC4 root fs from:
http://uml.harlowhill.com/index.php/UML_Fedora_Core_4    ?

I followed all the instructions, UML is working fine but all rpm invocations
cause the following error:

[EMAIL PROTECTED] ~]# rpm -qa
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

Thanks,

--
------------------------------------------------------
Etay Meiri
[EMAIL PROTECTED]

Reply via email to