RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Error when installing a new system with HEAD from a couple of days ago

From: Bernhard Rosenkränzer <bero@arklinux.org>
Date: Tue 26 Jan 2010 - 10:26:23 CET
Message-ID: <07fbf57d3c592cc583313fc3a14e9878@blankpage.ch>
On Mon, 25 Jan 2010 23:42:37 -0500, Jeff Johnson <n3npq@mac.com> wrote:
> On Jan 25, 2010, at 3:22 PM, Bernhard Rosenkränzer wrote:
>> 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 path to the macros file is usually the cause of the failure.

Probably not in this particular case...

/usr/lib/rpm/macros and /usr/lib/rpm/macros.d are both there,
/usr/lib/rpm/macros has %_dbapi 3 set, and rpm (same binary) looks into
that file on an installed system.

ttyl
bero
Received on Tue Jan 26 10:21:21 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.