-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 28 Apr 2009 15:04:36 -0400 Neal Becker <ndbecker2@xxxxxxxxx> wrote: > Clark Williams wrote: > > ... > > 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 > > > rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph > package igraph is not installed > > But why isn't it installed? As I showed, I did: > > ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm > > mock -r fedora-devel-x86_64 --install > ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- > devel-0.5.2-1.fc11.x86_64.rpm > > mock -r fedora-devel-x86_64 --install > ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph- > debuginfo-0.5.2-1.fc11.x86_64.rpm > > mock -r fedora-devel-x86_64 --rebuild --no-clean > python-igraph-0.5.2-2.fc12.src.rpm > > Notice I used --no-clean. > That all looks correct. You might want to verify the rpmdb in the chroot: $ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -V --all If that doesn't show any problems (aside from /proc and /sys, which is expected), you might want to check the db with a clean chroot: $ mock -r fedora-devel-x86_64 --init $ mock -r fedora-devel-x86_64 --install \ ~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm $ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph It *should* show igraph in there. Clark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkn3edkACgkQHyuj/+TTEp2uvQCg4xN+DxNjbWWC2z0+XnFTkhwl YLIAoJNkrbFQHnsbdI8vUDeOBc6JJPMI =Cj4C -----END PGP SIGNATURE----- -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list