[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Troubles running F9 mock chroot under F11

On Tue, Sep 15, 2009 at 12:02 PM, Daniel Drake <dsd laptop org> 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 redhat com/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.

 martin langhoff gmail com
 martin laptop org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]