cannot open Providename index using db3 - Invalid argument (22)

Panu Matilainen pmatilai at laiskiainen.org
Tue Sep 28 18:52:39 UTC 2010


On Thu, 16 Sep 2010, Vijay N. Majagaonkar wrote:

> Hi,
> 
> I am running out of strange problem at the time of creating ISO, ISO created
> successfully but it failed at the time of OS installation and this what i
> found in root.log file
> 
> I am not able to under stand the what is the problem "cannot open
> Providename index using db3 - Invalid argument (22)"
> 
> 
> can someone please give me some point or direction to fix this,

This is the all-important clue:

rpmdb: /var/lib/rpm/Providename: unsupported hash version: 9

You're apparently creating an image for an older distro on a newer one, 
and the older RPM / Berkeley DB combo on the installed image doesn't 
support the hash format of the newer BDB from the newer distro (on which 
you created the image).

There's no general "easy" solution for it I'm afraid. If possible, use an 
older distro (of the same era as the one you're creating the image for) to 
create the image. Another possibility might be downgrading the rpmdb 
format with db_dump and db_load from suitably versioned db4-utils, but 
that gets a bit tricky.

 	- Panu -


More information about the buildsys mailing list