Re: RPM problems with Fedora 11 on Sheevaplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-Andy

_______________________________________________
fedora-arm mailing list
fedora-arm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux