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. I was having the same issues when running mock as root user, but it works once I run it with normal user. https://www.redhat.com/archives/fedora-buildsys-list/2009-February/msg00026.html --lucian -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list