Mailinglist Archive: zypp-devel (58 mails)
| < Previous | Next > |
[zypp-devel] sat-solver and rpm5
- From: Bernhard Rosenkränzer <br@xxxxxxxxxxxx>
- Date: Mon, 01 Jun 2009 16:54:09 +0200
- Message-id: <d95ff98385551d6e341c71797946c0f6@xxxxxxxxxxxx>
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
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
| < Previous | Next > |