1 Jun
2009
1 Jun
'09
15:03
Hi,
here's an updated version of the patch -- my initial test run didn't hit
the code paths affected by this, but there's a few more lines assuming
rpmdb files are in DB_HASH format.
The attached updated patch fixes all occurrences.
On Mon, 01 Jun 2009 16:54:09 +0200, Bernhard Rosenkränzer
wrote:
Hi, sat-solver compiled fine with rpm5 yesterday -- but today, it showed it doesn't actually work, it fails to open the rpm database.
The problem is that sat-solver assumes /var/lib/rpm/Packages is a DB_HASH database while with rpm5, it's actually DB_BTREE.
The attached patch fixes it with a new buildtime define, not sure if db can be convinced to autodetect hash vs. btree somehow.
ttyl bero