-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 28 Apr 2009 17:03:34 +0200 Gianluca Sforna <giallu@xxxxxxxxx> wrote: > On Tue, Apr 28, 2009 at 4:02 PM, Neal Becker <ndbecker2@xxxxxxxxx> wrote: > > mock -r fedora-devel-x86_64 --shell > > INFO: mock.py version 0.9.14 starting... > > State Changed: init plugins > > State Changed: start > > State Changed: lock buildroot > > mock-chroot> rpm -q igraph > > rpmdb: Program version 4.7 doesn't match environment version 4.5 > > error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database > > environment version mismatch > > error: cannot open Packages index using db3 - (-30971) > > error: cannot open Packages database in /var/lib/rpm> rpmdb: Program version 4.7 doesn't match environment version 4.5 > > the buildroot is populated from the outside, using the "host" yum and > rpm. For that to work I think you need to upgrade the host's rpm to > (not sure if 4.6 is enough, probably yes) > > Yup, the rpmdb in the chroot is built with the host rpm, not the one installed in the chroot. To query what's in the chroot, try this: $ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph (or just print the root path and pass that directly to --root) Clark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkn3UbkACgkQHyuj/+TTEp2wPQCfW6IN5OvYuG6irIYgiswh2BL0 GjAAoM66JyW5Ahm/siGDx8UlHj/ewj1M =Dv53 -----END PGP SIGNATURE----- -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list