Mailinglist Archive: zypp-devel (30 mails)
| < Previous | Next > |
Re: [zypp-devel] MeeGo - Maemo + Moblin merge
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Wed, 17 Feb 2010 14:24:35 +0100
- Message-id: <20100217132435.GA32305@xxxxxxx>
On Tue, Feb 16, 2010 at 02:27:46PM -0500, Anas Nashif wrote:
I think this can be fixed by adding
dbenv->set_thread_count(dbenv, 8);
right after the db_env_create(&dbenv, 0) call in repo_rpmdb.c
But I don't think it'll cure your original problem. Could you please
do:
rpm --rebuilddb
rpm -U <some_rpm>
save the dbenv files (__db.00*)
rpm --rebuilddb
rpmdb2solv > /dev/null
save the dbenv files
and send me both versions of the created environment so that
I can check the differences?
Thanks,
Michael.
(P.S: I hate BerkeleyDB...)
--
Michael Schroeder mls@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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
I think this can be fixed by adding
dbenv->set_thread_count(dbenv, 8);
right after the db_env_create(&dbenv, 0) call in repo_rpmdb.c
But I don't think it'll cure your original problem. Could you please
do:
rpm --rebuilddb
rpm -U <some_rpm>
save the dbenv files (__db.00*)
rpm --rebuilddb
rpmdb2solv > /dev/null
save the dbenv files
and send me both versions of the created environment so that
I can check the differences?
Thanks,
Michael.
(P.S: I hate BerkeleyDB...)
--
Michael Schroeder mls@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |