-----Original Message----- From: fedora-arm-bounces@redhat.com [mailto:fedora-arm- bounces@redhat.com] On Behalf Of Andy Green Sent: 05 October 2009 11:24 To: Eric Moody Cc: fedora-arm@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