On Tue, Sep 15, 2009 at 12:02 PM, Daniel Drake <dsd@xxxxxxxxxx> wrote: > I then tried to create a F9 chroot using mock, with the intention of > running revisor or pungi inside. This doesn't work, because mock > creates a v9 berkeley DB inside the chroot, but the libraries/apps > inside the chroot only support bdb v8. So running "rpm -qa" inside a > fresh F9 chroot on F11 gives you these errors: > mock-chroot> rpm -qa > rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9 > error: cannot open Packages index using db3 - Invalid argument (22) > error: cannot open Packages database in /var/lib/rpm I keep my build machine of F9 due to similar issues I saw building F7 from F9 -- however, ISTR there's been some discussion of this recently. Hmmm, a bit of googling leads to a nice thread http://www.mail-archive.com/fedora-buildsys-list@xxxxxxxxxx/msg02210.html which if you read in depth seems to indicate that either of: rm -f /var/lib/rpm/__db* /bin/rpm --rebuilddb fixes the problem. Probably either triggers the other. For obvious reasons I am interested in the results -- let me know if it works. m -- martin.langhoff@xxxxxxxxx martin@xxxxxxxxxx -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list