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
Two tips about RPM, don't know if they're exactly your problem but you
can't operate without knowing the first one anyway.
If you see db problems, first move is
# rm -f /var/lib/rpm/__*
If you didn't shutdown cleanly, these "sticky database temp files" can
be corrupted and tried to get use next time. If they're deleted,
they'll be regenerated silently.
Second one is another way to see "corruption" of those temp files is if
you had been doing rpm --root= operations on your host on the image, I
saw that the __ files can get marked with your host arch. The device
can see that in there and choke as well. So, after host --root=
operations on the rpmdb on SD card or whatever, I routinely delete the
/var/lib/rpm/__* files too.
I don't particularly recognize the mmap: Invalid argument so maybe it's
something completely different, but I noticed you don't show you tried
the __ file deletion.