On Jan 25, 2010, at 3:22 PM, Bernhard Rosenkränzer wrote:
> Hi,
> trying to install a new system into a chroot jail currently fails:
>
> # rpm -r /mnt/dest -ivh /RPMS/*.rpm
> rpm: rpmdb.c:254:dbiOpen: Assertion `__dbapi == 3 || __dbapi == 4' failed.
>
> (The same thing works if I run the command from a proper system rather
> than a stripped down system that doesn't have an rpmdb by itself, so
> without looking into it deeply, I think it's trying to open the system
> rpmdb for some reason instead of creating the one in /mnt/dest).
>
The path to the macros file is usually the cause of the failure.
(aside)
This assert bites me every other week or so, particularly on new installs.
hth
73 de Jeff
> ttyl
> bero
> ______________________________________________________________________
> RPM Package Manager http://rpm5.org
> Developer Communication List rpm-devel@rpm5.org
Received on Tue Jan 26 05:42:58 2010