Mailinglist Archive: zypp-devel (58 mails)
| < Previous | Next > |
Re: [zypp-devel] sat-solver and rpm5
- From: Bernhard Rosenkränzer <br@xxxxxxxxxxxx>
- Date: Mon, 01 Jun 2009 17:03:20 +0200
- Message-id: <e814f7b1b5fbf567a0e79d5d37b3a60a@xxxxxxxxxxxx>
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 <br@xxxxxxxxxxxx>
wrote:
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 <br@xxxxxxxxxxxx>
wrote:
Hi,can
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
be convinced to autodetect hash vs. btree somehow.
ttyl
bero
| < Previous | Next > |