On Thu, 2009-03-05 at 08:38 +0200, Lucian Langa wrote: > On Thu, 2009-03-05 at 00:15 -0500, Tom Lane wrote: > > Roland McGrath <roland@xxxxxxxxxx> writes: > > >> I'm having the same problem: > > >> > > >> rpmdb: Program version 4.5 doesn't match environment version 4.7 > > >> error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch > > >> error: cannot open Packages index using db3 - (-30972) > > >> error: cannot open Packages database in /var/lib/mock/fedora-11-x86_64/root/var/lib/rpm > > > > > When I had those errors on rawhide itself, what was necessary was: > > > rm -f /var/lib/rpm/__db.* > > > Perhaps: > > > rm -f /var/lib/mock/fedora-11-x86_64/root/var/lib/rpm/__db.* > > > would do it? > > > > FWIW, mock seems to work for me in a fresh-as-of-yesterday F10 > > installation. If Roland's idea doesn't work, try blowing away > > *everything* under /var/lib/mock and see where that gets you. > > You could try to run mock as an unprivileged user that is part of the > mock group. That appears to have been my problem. I don't know what I was thinking trying to build as root :) Thanks, Andrew -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list