[users] Mock errors

Karanbir Singh mail-lists at karan.org
Mon Sep 29 17:10:41 CEST 2008

David Hrbáč wrote:
> rpmdb: Program version 4.3 doesn't match environment version
> error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database
> environment version mismatch
> error: cannot open Packages index using db3 -  (-30974)
> error: cannot open Packages database in
> /var/lib/mock/centos-4-x86_64/root/var/lib/rpm
> I can see it for C4 i386 and x86_64. Seems that C5 works fine.
> Any hints?

do a rpm --rebuilddb; just after you chroot into the mock build setup. I 
am guessing this comes up when doing a C4 buildroot from a C5 or newer 
host ?

Karanbir Singh : http://www.karan.org/  : 2522219 at icq

More information about the users mailing list