[fedora-arm] RPM problems with Fedora 11 on Sheevaplug

Kedar Sovani kedars at marvell.com
Mon Oct 5 06:09:41 UTC 2009


> -----Original Message-----
> From: fedora-arm-bounces at redhat.com [mailto:fedora-arm-
> bounces at redhat.com] On Behalf Of Andy Green
> Sent: 05 October 2009 11:24
> To: Eric Moody
> Cc: fedora-arm at redhat.com
> Subject: Re: [fedora-arm] RPM problems with Fedora 11 on
> Sheevaplug
> 
> On 10/05/09 06:52, Somebody in the thread at some point said:
> 
> > D: opening  db environment /var/lib/rpm/Packages
> cdb:mpool:joinenv
> > rpmdb: mmap: Invalid argument
> > error: db4 error(22) from dbenv->open: Invalid argument
> 

IIRC, JFFS2 has some issues with supporting writeable mmaps, and 
you need to inform rpm of this. 

Try including the following line in your 
$INSTALL_ROOT/etc/rpm/macros.rpmdb

%__dbi_cdb create private nommap


Kedar






More information about the fedora-arm mailing list