RPM Community Forums

Mailing List Message of <rpm-users>

Re: _dbiapi failed when doing "rpm --initdb" on RPM 4.4.6

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Sun 17 Feb 2008 - 23:37:40 CET
Message-Id: <200802172337.45529.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, that was exactly what was wrong. /usr/lib/rpm/macros was not 
installed for some reason, this %_dbiapi wasn't set. Hence the error.

	Eric

On Sunday 17 February 2008, Jeff Johnson <n3npq@mac.com> wrote:
> The %_dbapi macro controls which flavor of database to use.
>
> Here are the values
>      3		use Berkeley DB
>      4		use sqlite3
>
> You are likely not reading default configuration correctly if the
> value is not defined.
>
> Examine this output first:
>     rpm --showrc | grep dbapi
>
> 73 de Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHuLc1fkUtd7QNU/sRAmOfAKC6oDDx3G14gsnRx9oPF4FpKA0SewCgvh8r
lf7ZgmWtn/5tJz6OZ4+yhaA=
=Jeqv
-----END PGP SIGNATURE-----
Received on Sun Feb 17 23:37:49 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.