Jeremy Lacroix <[EMAIL PROTECTED]> writes:

> All rpm command are faulty. So rpm --rebuilddb and rpm --initdb are
> faulty too:
> 
> root@dji:/space# rpm --rebuilddb
> rpmdb: Program version 4.0.14 doesn't match environment version 3.3.11
> error: db4 error(22) from dbenv->open: Param�tre invalide
> error: cannot open Packages index
> 
> root@dji:/space# rpm --initdb
> rpmdb: Program version 4.0.14 doesn't match environment version 3.3.11
> error: db4 error(22) from dbenv->open: Param�tre invalide
> error: cannot open Packages index using db3 - Param�tre invalide (22)
> 
> it seems rpm can't open the db as it is a db3 format and rpm4 need a DB4
> format. Is there a way to convert it ?

Have you some /var/lib/rpm/__db* files ? If so remove them before --rebuilddb.
-- 
Fred - May the source be with you

Reply via email to