On May 27, 2009, at 3:49 PM, [email protected] wrote:
OK so first, this is what I get with verbose mode :
# rpm --rebuilddb -vv
D: pool ts: created size 720 limit -1 flags 0
D: pool db: created size 180 limit -1 flags 0
D: dbiOpen: _dbiapi failed
Ah, that's easy fixing.
(aside)
Hmmm, the error message is wrong: "%_dbapi" is the
name of the macro. Fix todo++ ...
Verify that %_dbapi value is bogus by doing
[...@fedora10 rpmdb]$ rpm --showrc | grep dbapi
-14: _dbapi 3
-14: _dbapi_rebuild 3
...
The correct values are displayed above.
(aside)
Ironically, the current values for %_dbapi and %_dbapi_rebuild
make no sense whatsoever:
3 == Berkeley DB db-4.x.y
4 == sqlite3
but that is what is currently implemented for hysterical reasons.
You can specify macro values on the CLI as, say
--define '_dbpai 3'
but you are likely just not reading macro configuration
for some reason, usually because paths are not compiled
in correctly.
What does
rpm --showrc
say? It should display all the configuration macros
used by rpm, including %_dbapi.
<other derivative errors deleted. once the rpmdb is opened, these
should "work">
73 de Jeff
______________________________________________________________________
RPM Package Manager http://rpm5.org
User Communication List [email protected]