linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] RPM problem in UML rootfs of FC4
@ 2005-10-07  9:45 Etay Meiri
  2005-10-07 11:21 ` itamar
  0 siblings, 1 reply; 3+ messages in thread
From: Etay Meiri @ 2005-10-07  9:45 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

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:

[root@uml-test ~]# 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
etay.meiri@gmail.com

[-- Attachment #2: Type: text/html, Size: 946 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] RPM problem in UML rootfs of FC4
  2005-10-07  9:45 [uml-devel] RPM problem in UML rootfs of FC4 Etay Meiri
@ 2005-10-07 11:21 ` itamar
  2005-10-07 11:26   ` Etay Meiri
  0 siblings, 1 reply; 3+ messages in thread
From: itamar @ 2005-10-07 11:21 UTC (permalink / raw)
  To: Etay Meiri, user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]

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 : itamar@ispbrasil.com.br

  ----- Original Message ----- 
  From: Etay Meiri 
  To: user-mode-linux-devel@lists.sourceforge.net 
  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:

  [root@uml-test ~]# 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
  etay.meiri@gmail.com 

[-- Attachment #2: Type: text/html, Size: 3237 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] RPM problem in UML rootfs of FC4
  2005-10-07 11:21 ` itamar
@ 2005-10-07 11:26   ` Etay Meiri
  0 siblings, 0 replies; 3+ messages in thread
From: Etay Meiri @ 2005-10-07 11:26 UTC (permalink / raw)
  To: itamar; +Cc: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

On 10/7/05, itamar <itamar@ispbrasil.com.br> wrote:
>
> first try this
>  rm -rf /var/lib/rpm/__*
> rpm --rebuilddb
>

EtayM: this one wasn't enough.

if don´t fix the problem try this
>     *echo "%__dbi_cdb create cdb private mpool mp_mmapsize=16Mb" >
> /etc/rpm/macros*
>

EtayM: this one worked.

rpm -qa
>  upgrade your FC4 using yum and remove the line *"%__dbi_cdb create cdb
> private mpool mp_mmapsize=16Mb" from /etc/rpm/macros*
>

EtayM: currently updating with yum...
Thanks a lot, Itamar.


--
------------------------------------------------------
Etay Meiri
etay.meiri@gmail.com

[-- Attachment #2: Type: text/html, Size: 2007 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-07 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07  9:45 [uml-devel] RPM problem in UML rootfs of FC4 Etay Meiri
2005-10-07 11:21 ` itamar
2005-10-07 11:26   ` Etay Meiri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox