rpm-devel-owner@rpm5.org wrote:
> On Sun, Jul 29, 2007, Jeff Johnson wrote:
>
>> The dbenv is stateful, and per-instance. Why are you copying __db*
>> files around, they are useless, as you have seen, out of context.
>
> Well, in OpenPKG since years we've created a database under
> <DESTDIR><prefix>/RPM/DB/ and this was later installed into the target
> path <prefix>/RPM/DB/. This worked just fine until DB 4.6. Now we have
> to at least explicitly remove the __db.* files after "rpm --initdb".
> But I just wanted to share my experience with DB 4.6 here in case
> someone else is faced with a similar situation...
thanks, this would probably have burned me, too.
I'll have to make sure the db creation happens
inside a chroot so it looks like its final
destintion (easy to do in our case).
Received on Mon Jul 30 05:35:22 2007