I just tried satsolver from obs zypp:/Head on Fedora 11, same result: [root@taybeh ~]# rpm --rebuilddb [root@taybeh ~]# rpmdb2solv > /dev/null [root@taybeh ~]# rpm -e check rpmdb: thread table must be allocated when the database environment is created error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm rpmdb: thread table must be allocated when the database environment is created error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages database in /var/lib/rpm error: package check is not installed Anas On 2010-02-16, at 1:43 PM, Anas Nashif wrote:
On 2010-02-16, at 1:25 PM, Michael Schroeder wrote:
On Tue, Feb 16, 2010 at 12:50:32PM -0500, Anas Nashif wrote:
On 2010-02-16, at 12:45 PM, Michael Schroeder wrote:
On Tue, Feb 16, 2010 at 12:36:29PM -0500, Anas Nashif wrote:
No, we are not shipping SUSE's rpm, and looking at satsolver, we have CMAKE_FLAGS="-DFEDORA=1"
Maybe libzypp also meddles with the db. Here's a small test if libsatsolver is to blame:
[maybe remove the old dbenv] rpm --rebuilddb rpmdb2solv > /dev/null rpm -e check
[root@localhost ~]# rpm --rebuilddb [root@localhost ~]# rpmdb2solv > /dev/null [root@localhost ~]# rpm -e powertop rpmdb: thread table must be allocated when the database environment is created error: db3 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm rpmdb: thread table must be allocated when the database environment is created error: db3 error(22) from dbenv->open: Invalid argument error: cannot open Packages database in /var/lib/rpm error: package powertop is not installed
So is it satsolver?
Looks like it. But that would mean repo_rpmdb.c was not compiled with -DFEDORA. Hmm. Or rpm uses a different db that satsolver was linked against.
I checked, the file is compiled with -DFEDORA
What rpm version are you using?
4.8.0, built against external db4. (same as satsolver).
Anas
Cheers, Michael.
-- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org