On Tue, Sep 15, 2009 at 12:02 PM, Daniel Drake <[email protected]> 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/[email protected]/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 -- [email protected] [email protected] -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Server-devel mailing list [email protected] http://lists.laptop.org/listinfo/server-devel
